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