AutoMod

AutoMod monitors the content of messages themselves (spam, links, mass mentions, blocked words) — unlike the protection system, which monitors dangerous administrative actions (deleting a channel, mass-kicking...). The current version (v2) is rebuilt from scratch around four systems only, each enabled and configured independently.

The Four Systems#

SystemWhat it does
Smart SpamDetects rapid-fire sending and the same message repeated (even across several channels). Once confirmed it punishes the member and cleans up their recent messages automatically, then silently deletes their messages for a short window instead of stacking punishments.
Links & InvitesBlocks invite links to other servers (with an option to allow your own server's invites), and can optionally block all external links with an allowed-domains list.
Mass MentionsBlocks messages that mention many members at once, using a limit you set, with extra protection against mention raids.
Blocked WordsYour own word list plus regular expressions and an allow list, along with ready-made Discord presets (profanity, sexual content, slurs). It catches evasion attempts using diacritics, letter stretching, repeated letters and number substitution.

Changed from the previous version

The old standalone rules (caps, spoilers, Zalgo, emoji, stickers, blank lines, long messages, repetition) and the !spam command were removed. Smart Spam now covers repetition and rapid sending in a single system. Existing server settings were migrated to the new format automatically.

How it works (hybrid)#

  • Blocked Words and Mass Mentions are also enforced as native Discord AutoMod rules, so the message is blocked before it ever appears in the channel.
  • The bot layer adds what Discord's native rules can't: Smart Spam, links and invites, and catching evasion in Arabic and English words.
  • To avoid flooding a channel, the bot posts at most one warning every 30 seconds per channel no matter how many members are violating.

Every system has#

  • Delete: always on. Optional actions can be stacked on top:
  • Warn (a real warning shown in !modlogs and counted toward auto-punishments), timeout, text mute (same logic as !mute), kick, or ban.
  • Exceptions: roles and channels exempt from the system.
  • A custom block message, one short line (up to 100 characters), for links, mentions and words.

Global Settings#

  • The AutoMod log channel, and notifying the offending member by DM (on by default).
  • Global exceptions that apply to every system: roles (up to 20), channels (up to 50) and members (up to 50).
  • Auto-punishments: thresholds (up to 20) that decide what happens when a member reaches a set number of warnings, mutes or similar within a day, week, month or all time, such as timeout, mute, prison, kick or ban. Each fires once, exactly when the count is reached.

Limits#

SettingLimit
Spam messages per window3 to 20 messages within 2 to 30 seconds
Duplicate message2 to 10 times within 5 to 120 seconds
Cleanup of offender messages10 to 100 messages
Mention limit2 to 50 mentions
Timeout / mute durationFrom 1 minute to 28 days
Words / Regex / allow list1000 / 10 / 100
Allowed domains50

Where do I control it?#

All detailed settings live on the AutoMod page of the dashboard. The !automod command shows a compact panel with the state of the four systems, an on/off toggle for each, and a direct link to the dashboard.

Staff roles

There's no automatic exemption for staff from AutoMod — explicitly add their role to the exceptions list if you want them exempt.