$commandName

A simple function, which returns the name of a slash command ran.

Trigger

This function works only with slash commands.

Usage

$commandName

Example

Code

$interactionReply[:game_die: $random[1;6]]
$interactionReply[Command ran: `$commandName`]

Result

Result