Loading

Back to Home

$addMentionableSelect

$addMentionableSelect adds a mentionable select menu to an action row. Mentionable select menus let users pick one or more users and roles from a single list.

Syntax

$addMentionableSelect[Select Menu ID;Placeholder;Min Values;Max Values;Disabled;Action Row ID]

What happens

  1. $addMentionableSelect creates a mentionable select menu on the specified action row.
  2. When clicked, it opens a list of server members and roles to choose from.
  3. The selected user and role IDs can be used in your command trigger.

Example 1: Single mentionable select

$addActionRow[actions]
$addMentionableSelect[pickItem;Choose a user or role;1;1;;actions]
Result: Mentionable select example

What happens:

  1. $addActionRow creates an action row.
  2. $addMentionableSelect adds a mentionable select menu that lets users pick one item.

The menu shows "Choose a user or role" as placeholder text.

Example 2: Multi-select with no placeholder

$addActionRow[actions]
$addMentionableSelect[pickItems;;1;5;;actions]
Result: Mentionable multi-select example

What happens:

  1. $addActionRow creates an action row.
  2. $addMentionableSelect adds a mentionable select menu that lets users pick up to five items.

The menu has no placeholder text and allows multiple selections.

Common uses

See also