Protection · Step
AutoMod: block words
Make (or change) a Discord AutoMod rule that blocks words before anyone sees them, even when the bot is offline.
automod_rule.keywords
In a flow
“When a button is clicked, AutoMod: block words.”
/blockword word → AutoMod: block words with {trigger.word}.
What it does
Make (or change) a Discord AutoMod rule that blocks words before anyone sees them, even when the bot is offline. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 2 values later steps can use. Find it under Protection in the palette.
When to use it
Use it to keep the server safe: make (or change) a Discord AutoMod rule that blocks words before anyone sees them, even when the bot is offline.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Tell staff in Channel
-
For the alert: the staff channel. Empty skips the alert.
What goes there: Type it in the side panel, or wire in a channel. e.g. #general
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more
- Time out (minutes) Number
-
For block and time out: how long, 1 to 40320 (4 weeks).
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 10.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more
- Message to them Text
-
What Discord shows the member when it blocks them. Empty is Discord's own.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Except role Role
-
Members with this role are never caught, like Staff. Empty is none.
What goes there: Type it in the side panel, or wire in a role. e.g. @Verified
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromAsk a questionCopy a roleCreate roleFind role by nameHighest roleMember detailsPersonal colour roleRead settingand 3 more
- Rule name Text
-
Its name in Server Settings > AutoMod. A rule with this name is changed, not made twice.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses Blocked words.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Words List
-
The words or phrases to catch, like a list from Split text. *word* catches it inside other words.
What goes there: Type it in the side panel, or wire in a list. e.g. Hello there, and more like it
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromAI check the answersAlarms that are dueBest by a fieldChange list atCheck for a lineClear a leaderboardCollect messages until doneColour gradientand 177 more
- Or words Text
-
The words with commas between, when nothing is wired into Words.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses badword, *scam*.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Allowed Text
-
Words to let through even if they match, with commas between.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Patterns Text
-
Rust regex patterns, one a line, for the clever ones. Empty is none.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Rule id Text
-
The rule's id. e.g. 123456789012345678
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 577 more
- Made new Yes / no
-
On when it was made now, off when it was changed. e.g. on
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 572 more