Skip to content
Components & Interactions addMentionableSelectMenu

$addMentionableSelectMenu — Creates a mentionable select menu

Creates a mentionable select menu

Syntax

$addMentionableSelectMenu[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

$addMentionableSelectMenu[customID;(placeholder);(minvalues);(maxvalues);(disabled);(required)] → result

Example

$addMentionableSelectMenu[m;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.