Skip to content
Interactions applicationCommands

$applicationCommands — The application commands of the bot (JSON): global, or of a guild.

The application commands of the bot (JSON): global, or of a guild.

Syntax

$applicationCommands[(guildID)]

Parameters

  • guildID (String, optional) — Server ID (empty: global)

Return Value

  • Json.

Usage

$applicationCommands[guildID] → result

Example

$sendMessage[$applicationCommands[guildID]]

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.