Skip to content
Interactions applicationCommandOptions

$applicationCommandOptions — Options (JSON) of the command being run, or of the application command with this ID.

Options (JSON) of the command being run, or of the application command with this ID.

Syntax

$applicationCommandOptions[(id)]

Parameters

  • id (String, optional) — Command ID

Return Value

  • Json.

Usage

$applicationCommandOptions[id] → result

Example

$sendMessage[$applicationCommandOptions[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.