Roles
Roles allows you to create self-assign role menus using dropdown components.
Pictures paint a thousand words⦠So take a look at the screenshots below! :)
Using Roles Bot
Ephemeral | Non Ephemeral |
---|---|
Example Command Usage
In this example, the user will be able to pick between π Team Red
and π Team Blue
from the dropdown.
/render
role-0:@Team Red
role-1:@Team Blue
emoji-0:"π"
emoji-1:"π"
description:"Choose your roles :)"
multi:False
ephemeral:False
You can submit up to ten roles per command. (emoji-0 -> emoji-9
). What each option does is explained further down on this page.
Ephemeral Example
(Ephemeral menus pre-select users existing roles)
Non-Ephemeral Example
Option Usage
role-#
- The role to apply
emoji-#
- The emoji to apply to
role-#
- The emoji to apply to
description
- The message content to be shown alongside the menu
multi (
default=false
)- Whether to allow multiple roles to be selected (
true
), or just one role (false
)
- Whether to allow multiple roles to be selected (
ephemeral (
default=false
)- If enabled, Users will need to click a button to view the role selection menu. HOWEVER, their current roles will be auto-selected, so setting this to
true
may be a good idea
- If enabled, Users will need to click a button to view the role selection menu. HOWEVER, their current roles will be auto-selected, so setting this to