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