Components & Interactions
isContextMenu
$isContextMenu — Returns whether the interaction is a context menu
Returns whether the interaction is a context menu
Syntax
$isContextMenu
Parameters
None.
Return Value
- Boolean.
Usage
$isContextMenu → result
Example
$isContextMenu
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.