diff --git a/packages/design-system/molecules/role-search/RoleSearch.tsx b/packages/design-system/molecules/role-search/RoleSearch.tsx
index a5a714e..271a9e0 100644
--- a/packages/design-system/molecules/role-search/RoleSearch.tsx
+++ b/packages/design-system/molecules/role-search/RoleSearch.tsx
@@ -1,6 +1,7 @@
import { Role } from '@roleypoly/design-system/atoms/role';
import { Space } from '@roleypoly/design-system/atoms/space';
import { TextInputWithIcon } from '@roleypoly/design-system/atoms/text-input';
+import { Link } from '@roleypoly/design-system/atoms/typography';
import { Role as RoleType } from '@roleypoly/types';
import Fuse from 'fuse.js';
import * as React from 'react';
@@ -32,21 +33,36 @@ export const RoleSearch = (props: Props) => {
}
- placeholder={props.placeholder || 'Search or drag a role...'}
+ placeholder={props.placeholder || 'Search for a role...'}
value={props.searchTerm}
onChange={(x) => props.onSearchUpdate(x.target.value)}
/>
- {results.map((resultRole, idx) => (
-
-
-
- ))}
+ {props.roles.length > 0 ? (
+ results.length > 0 ? (
+ results.map((resultRole, idx) => (
+
+
+
+ ))
+ ) : (
+
+ No roles could be found. Try a different search term.
+
+
+ )
+ ) : (
+
+ Roleypoly can't see any more roles.
+
+ Learn why
+
+ )}
+
+
+
+ DO: Roleypoly is above the other roles
+
+
+
+
+ DON'T: Roleypoly is below the other roles
+
+
+
+
+
+
+ {' '}
+ Discord doesn't let members/bots with "manage roles" permissions assign roles above
+ their highest role.
+
+
+
+ Other tips:
+
+
+
+
+ DO: Roles have no elevated permissions.
+ Administrator
+ Manage Roles
+
+
+ DON'T: Roles cannot have Administrator or Manage Roles permissions.
+ Administrator
+ Manage Roles
+
+
+ {' '}
+ These permissions give access to the Roleypoly editor and Discord tools, which can
+ open your server up to vandalism.
+
+