Build chat bots with blocks

on chat command named (name) with minimum # of parameters (count) do (statements) (dms) also in DMs

In Discord → Chat Commands

Jump to block

Declare an executable chat command.

Requires the following blocks to be present in the project: discord login


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 , and wanted to require that a value for be supplied when executing this command, you would set this to 1. Invocations that have less than the required argument count are ignored.
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.


void - This is a statement with no outputs