Skip to content
Components & Interactions isRoleSelectMenu

$isRoleSelectMenu — Returns whether the context is a role select menu

Returns whether the context is a role select menu

Syntax

$isRoleSelectMenu

Parameters

None.

Return Value

  • Boolean.

Usage

$isRoleSelectMenu → result

Example

$isRoleSelectMenu

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.