DropdownRoles Settings
Configure how each DropdownRole behaves.
| Setting | Default | Description |
|---|---|---|
| max_roles | 1 | Maximum number of roles a user can select at once |
| notify | true | Whether users receive a notification about role changes |
| reselectable | false | Whether users can reselect the same option to toggle |
| global | false | Apply settings to all dropdowns on the message |
max_roles
Sets the maximum number of roles a user can select from the select menu. The default is 1.
notify
When true, users see a message listing which roles were added and removed. When false, the role change happens silently.
Errors are always shown to the user even when notify is set to false.
reselectable
When enabled, users can select an already-held role from the menu to remove it. By default selecting a role you already have has no effect.
global
Applies the configured settings to all DropdownRoles on the same message rather than just the one being edited.