Build chat bots with blocks

(type) argument # (argNum)

In Discord → Chat Commands

Jump to block

Get a particular argument of a chat command.

Only valid in: discord chat command

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


Parameter name Parameter type Required? Description
type any The data type to cast the argument’s value to.
argNum Number The argument number, i.e. the first argument of !help hello is hello. The 0th argument is the command.


void - This is a statement with no outputs