on chat command named (name) with minimum # of parameters (count) do (statements) (dms) also in DMs
Declare an executable chat command.
Requires the following blocks to be present in the project: discord login
Parameters
Parameter name | Parameter type | Required? | Description |
---|---|---|---|
name | String | ✓ | The name of the command. |
count | Number | The number of parameters required to execute this command. For example, if you wanted to create command !hello |
|
statements | statements… | ✓ | The statements to execute when this command is run. |
dms | any | ✓ | Also respond to this command if it’s executed in a DM. |
Output
void - This is a statement with no outputs