Build chat bots with blocks

set activity to (activity) (name)

In Discord → Users

Jump to block

Set the bot’s activity (the info next to the bot’s name in the member list)

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


Parameter name Parameter type Required? Description
activity any The descriptor of this activity (i.e. playing, watching, competing…)
name String The name of the activity. Ignored if the descriptor is ‘nothing’.


void - This is a statement with no outputs