Back to docs

Automod setup

Build automated moderation rules that catch rule-breakers before your team sees them.

1

Choose a trigger

Pick what should activate the rule: banned words, regex patterns, links, invites, attachment types, message spam, duplicate spam, join spam, all-caps, zalgo text or excessive mentions.

2

Set the action

Decide what happens when the trigger matches. Options include deleting the message, warning the user, muting, kicking, banning, timing out, assigning a role, setting slowmode, sending an alert or simply logging the event.

3

Add exemptions

Exempt specific roles or users from each rule so moderators, bots and VIPs are never caught by accident. You can also restrict rules to specific channels.

4

Configure cooldowns and limits

Set message count thresholds, time windows and repeat limits. A spam rule might trigger after five messages in three seconds, while a link filter can act on the first offending message.

5

Test and monitor

Use the dashboard to test a rule against sample messages. Review automod hits in the dashboard or in your configured log channel to make sure rules are working as expected.