Example
Delete messages that contain a bad word, or give coins for every message someone sends.
How to use one: go to Events, press New Event, pick the event from the list, then add blocks under it. The words in
{curly brackets} are variables you can type into your blocks. The bot swaps them for the real thing when the event happens.
Search the event list for message to find these events.
For message events, turn on the Message Content Intent for your bot in the Discord Developer Portal.
The events
When a new message is sent
When a new message is sent
When it runs: every time someone sends a message.Variables: the person, message and channel variables (see Shared variables below).Build idea: give the person XP or coins for each message. See Levels and XP.
When a message is updated or edited
When a message is updated or edited
When it runs: someone changes a message they already sent.Variables: the person, message and channel variables. Plus:
Build idea: post the old and new text in your log channel.
When a message is deleted
When a message is deleted
When it runs: a message is deleted.Variables: the person, message and channel variables.Build idea: keep a log of deleted messages for your moderators.
When a message is pinned
When a message is pinned
When it runs: a message is pinned.Variables: the channel variables.Build idea: tell the channel that something important was pinned.
User Started Typing
User Started Typing
When it runs: someone starts typing.Variables: the person and channel variables. Plus:
Poll events
When a user votes on a poll
When a user votes on a poll
When it runs: someone votes on a Discord poll.Variables: the person, message and channel variables. Plus:
Build idea: thank people for voting, or count the votes in a variable.
When a user removes their vote on a poll
When a user removes their vote on a poll
When it runs: someone takes their vote back.Variables: the person, message and channel variables. Plus:
Variables many of these events share
These show up again and again above, so here they are once.- About the person
- About the message
- About the channel
Example
Someone types in your chat:All event groups
Back to the full list.
Reaction events
When people react to messages.
