Sign In

$addRoleSelectMenuTo[]

Creates a role select menu on a message

v1.5.0+ Requires Brackets

Usage

$addRoleSelectMenuTo[;;;;;;;]

Arguments

NameTypeRequiredDescription
channel ID
TextChannelYesThe channel id to pull message from
message ID
MessageYesThe message to add select menu to
custom ID
StringYesThe custom id for this menu
placeholder
StringNoThe placeholder to use for the menu
min values
NumberNoThe min values to choose for the menu
max values
NumberNoThe max values to choose for the menu
disabled
BooleanNoWhether the menu is disabled by default
...default roles
StringNoThe default selected roles to use

Output

Boolean

Was this page helpful?