Skip to main content
Automod is a friendlier front end for Discord’s built-in AutoMod rules. Everything you configure here becomes a real rule in your server’s settings — which means Discord blocks the message, not the bot. That distinction matters:
  • 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.
Requires Manage Server.

The control panel

Opens a panel with every filter and whether it’s on. Pick a filter from the menu to manage it with buttons instead of commands. From a filter’s page you can:
  • 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.
Every filter also has a shortcut: !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

Substrings on the ignore list bypass the filter, which is how you stop a blocked word from catching an innocent one containing it. Aliases: allow, exclude.

Invite filter

Blocks messages containing Discord invite links. Aliases: discord, inv.
Two different exemptions, worth keeping straight: ignore allows a specific invite string everywhere, whitelist allows a role or channel to post any invite.
Blocks all URLs. Aliases: websites, link, url. It has the same ignore / whitelist split as invites:
Blocking every link outright is heavy-handed for most servers. A better shape is usually: links allowed generally, #general whitelisted, and the honeypot catching the scam links that matter.

Mention limits

Blocks messages containing more than the given number of mentions. Aliases: mention, pings, ping.
Turns on Discord’s own mention-raid protection, which handles the coordinated version. Same whitelist commands: !automod mentions whitelist @Staff.

Suspected spam

Enables Discord’s machine-learning spam classifier. It catches the generic patterns — advertising, repeated content, scam phrasing — without you having to write rules for them. Aliases: suspected, sus.

Music file filter

The odd one out: this one is enforced by mira rather than Discord, because Discord can’t inspect attachments.
Blocks messages containing music files (MP3, WAV, FLAC and similar) or links to them. Built for servers that want listening confined to one channel. Aliases: musicfiles, mp3, audio, files.

The whitelist, generally

Without a filter name, the whitelist exempts roles and channels from every filter you’ve set up:
Name a filter, before or after the targets, to exempt them from just that one:
Running it again on something that’s already exempt removes the exemption. Whitelisted roles and channels bypass the filter entirely, and any role can be exempted, including ones above your own. Aliases: 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.