Skip to content
Interactions applicationSubCommandName

$applicationSubCommandName — Name of the subcommand being run.

Name of the subcommand being run.

Syntax

$applicationSubCommandName

Parameters

None.

Return Value

  • String.

Usage

$applicationSubCommandName → result

Example

$sendMessage[$applicationSubCommandName]

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.