Interactions
applicationCommandName
$applicationCommandName — Name of the command being run, or of the application command with this ID.
Name of the command being run, or of the application command with this ID.
Syntax
$applicationCommandName[(id)]
Parameters
- id (String, optional) — Command ID (empty: the current command)
Return Value
- String.
Usage
$applicationCommandName[id] → result
Example
$sendMessage[$applicationCommandName[id]]
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.