DropdownRoles Settings

Configure how each DropdownRole behaves.

SettingDefaultDescription
max_roles1Maximum number of roles a user can select at once
notifytrueWhether users receive a notification about role changes
reselectablefalseWhether users can reselect the same option to toggle
globalfalseApply 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.