Skip to content
Components & Interactions addDefaultRoleOption

$addDefaultRoleOption — Adds default role options to the last select menu

Adds default role options to the last select menu

Syntax

$addDefaultRoleOption[roleIDs...]

Parameters

  • roleIDs… (text, required) — The role ids

Return Value

  • String.

Usage

$addDefaultRoleOption[roleIDs...] → result

Example

$addRoleSelectMenu[r]$addDefaultRoleOption[70]

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.