Components & Interactions
addUserSelectMenu
$addUserSelectMenu — Creates a user select menu
Creates a user select menu
Syntax
$addUserSelectMenu[customID;(placeholder);(minvalues);(maxvalues);(disabled);(required)]
Parameters
- customID (id, required) — The custom id for this menu
- placeholder (text, optional) — The placeholder to use for the menu
- minvalues (number, optional) — The min values to choose for the menu
- maxvalues (number, optional) — The max values to choose for the menu
- disabled (boolean, optional) — Whether the menu is disabled by default
- required (boolean, optional) — Whether this menu is required inside a modal
Return Value
- String.
Usage
$addUserSelectMenu[customID;(placeholder);(minvalues);(maxvalues);(disabled);(required)] → result
Example
$addUserSelectMenu[u;Pick;1;2;true]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.