Skip to content
Components & Interactions selectMenuValues

$selectMenuValues — Returns select menu values

Returns select menu values

Syntax

$selectMenuValues[(index);(separator)]

Parameters

  • index (number, optional) — The index of the value
  • separator (text, optional) — The separator to use for each value

Return Value

  • String[].

Usage

$selectMenuValues[(index);(separator)] → result

Example

$selectMenuValues[;|]/$selectMenuValues[1]

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.