- Blocking happens before the message is posted. Nobody sees it, not even for a second.
- It works even if mira is offline, rate-limited or missing permissions.
- The rules are visible and editable in Server Settings → AutoMod, so nothing is hidden from you.
The control panel
- Turn it on or off.
- Exempt roles and channels using Discord’s role and channel pickers, which come pre-filled with what’s already exempt.
- Add or remove filtered words (Words) and let phrases through (Allowed).
- Set a log channel, a timeout and the message members see when they’re blocked (Settings).
- Set the mention limit and raid protection, on the mention spam page.
!automod links opens the panel straight on the link filter. The commands below still work for anything you’d rather type.
Word filter
automod add accepts plain words and regular expressions, several at once separated by commas — aliases create, regex. Matching is case-insensitive and catches common letter substitutions, so blocking nitro also catches n1tr0.
Allowing exceptions
allow, exclude.
Invite filter
discord, inv.
ignore allows a specific invite string everywhere, whitelist allows a role or channel to post any invite.
Link filter
websites, link, url. It has the same ignore / whitelist split as invites:
Mention limits
mention, pings, ping.
!automod mentions whitelist @Staff.
Suspected spam
suspected, sus.
Music file filter
The odd one out: this one is enforced by mira rather than Discord, because Discord can’t inspect attachments.musicfiles, mp3, audio, files.
The whitelist, generally
Without a filter name, the whitelist exempts roles and channels from every filter you’ve set up:exempt, wl.
Command reference
Every command requires Manage Server. Group alias:
filter.
Discord limits how many AutoMod rules a server can have. If a command fails with a rule-limit error, remove an unused rule in Server Settings → AutoMod and try again.