Build chat bots with blocks

🔔 when (event) do (statement)

In Mastodon → Events

Jump to block

Run statements when an event occurs.

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


Parameter name Parameter type Required? Description
event any The event to bind to.
statement statements… The statements to run when the event is received.


void - This is a statement with no outputs