Skip to content
Components & Interactions isUserContextMenu

$isUserContextMenu — Returns whether the interaction is a user context menu

Returns whether the interaction is a user context menu

Syntax

$isUserContextMenu

Parameters

None.

Return Value

  • Boolean.

Usage

$isUserContextMenu → result

Example

$isUserContextMenu

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.