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