Skip to content
Components & Interactions editChannelSelectMenu

$editChannelSelectMenu — Edits a channel select menu

Edits a channel select menu

Syntax

$editChannelSelectMenu[oldcustomID;newcustomID;(placeholder);(disabled);(minvalues);(maxvalues);(defaultchannels...)]

Parameters

  • oldcustomID (id, required) — The custom id of the menu to edit
  • newcustomID (id, required) — The new custom id to use for this menu
  • placeholder (text, optional) — The placeholder to use for the menu
  • disabled (boolean, optional) — Whether to keep this menu disabled
  • minvalues (number, optional) — The min values to choose for the menu
  • maxvalues (number, optional) — The max values to choose for the menu
  • defaultchannels… (text, optional) — The default selected channels of the menu

Return Value

  • String.

Usage

$editChannelSelectMenu[oldcustomID;newcustomID;(placeholder);(disabled);(minvalues);(maxvalues);(defaultchannels...)] → result

Example

$addChannelSelectMenu[c]$editChannelSelectMenu[c;c2;Chan;false;1;1;31]

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.