Starts when · Starts a flow
When AutoMod catches something
Discord's AutoMod or one of the bot's AutoMod rules catches a member's message. For Discord's rules the bot needs Manage Server to hear it.
events.automod_blocked
In a flow
“When AutoMod catches something, the steps wired after it run.”
Add a strike when AutoMod blocks a message.
What it does
Discord's AutoMod or one of the bot's AutoMod rules catches a member's message. For Discord's rules the bot needs Manage Server to hear it. It starts a flow, and gives the steps after it values about what happened. It gives 9 values later steps can use. Find it under Starts when in the palette.
When to use it
Use it to start a flow when AutoMod catches something.
When not to
If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.
Typical wiring
Values it gives
- Who was caught Member
-
The member whose message AutoMod caught. e.g. @Sam
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toA member's variablesAdd a labelAdd a staff noteAdd answer to formAdd to a counterAdd to a leaderboardAdd to threadAdd to ticketand 648 more
- Where it happened Channel
-
The channel they posted in. e.g. #general
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd to threadAge-restrict a channelAI summary of a channelAnti-nuke guardArchive channelArchive or lock threadAsk a questionand 640 more
- Which rule Text
-
The rule's name: one of the bot's (Scams, Invite links, ...) or a Discord AutoMod rule's. e.g. Scams
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Why Text
-
What the rule saw, in words. Empty for Discord's rules. e.g. Fake job offer
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Matched text Text
-
The part of the message that matched. Empty unless the bot has the Message Content intent. e.g. the first month is unpaid
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- What was done Text
-
For Discord's rules: blocked, alerted or timed out. For the bot's: what it did, like 'deleted, warned'. e.g. blocked
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Caught by Discord Yes / no
-
True for Discord's own AutoMod rules, false for the bot's. e.g. true
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more
- Rule ID Text
-
The Discord AutoMod rule's ID, or the bot's rule key, like scams. e.g. 1290000000000000000
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Matched word Text
-
For Discord's word rules, the word or pattern that matched. Empty unless the bot has the Message Content intent. e.g. freenitro
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more