Get Interaction Option
Allows you to store the value of a slash command option in a variable.
Last updated
Allows you to store the value of a slash command option in a variable.
Last updated
Slash commands can have options which trail the actual command. You can think of these like function parameters or arguments.
Using this node allows you to get the value of an option that was used with the slash command.
Field
Description
Interaction
The interaction object to get the option from
Option type
What the type of this option is
Option name
The name of this option
Variable name
The name of the variable to save the option value into
Variable type
The type to save the new variable as