Discord Bot Studio
Search…
Store Value in Variable
Allows you to store a parameter value from a text command in a variable.
Field
Description
Variable Name
The name of the variable that will be saved.
Parameter Type
Whether this is a text or numeric variable.
Variable Type
The type of variable this value will be saved as.
Parameter Number
The parameter number field uses the following convention:
!command parameter1 parameter 2 parameter3 and so on...
Use 0 to take all parameters after the command.
Use a number followed by "+" to take that parameter and all following.
Ex: !command one two three - Using 2+ here will save the value "two three".
Last modified 2mo ago
Copy link