Skip to main content
Kovra’s AutoMod runs independently of Discord’s native AutoMod. You can use both — Discord catches the obvious violations at the gateway layer, Kovra handles the nuanced ones that need per-server tuning.

Rule types

Message rate per user. Trigger: N messages within W seconds.Tune: 5 messages / 5 seconds is a reasonable default for most communities.
Unique mentions per message. Catches @user1 @user2 @user3 @user4 floods.Tune: 3 mentions per message blocks most mass-pings without hurting legitimate group DMs.
Block Discord invite links (discord.gg/*, discord.com/invite/*, dsc.gg/*).Whitelist mode lets you allow links to your partner servers while still blocking random invites.
Custom regex patterns. The rule builder includes a tester so you can paste sample messages and see matches before deploying.Common uses: block known phishing URL patterns, detect invite codes in other formats, block slurs specific to your community.
Flag messages from users whose account is younger than N days.Most drive-by spam comes from accounts under 7 days old — set the threshold accordingly.
Restrict a channel (art, screenshots, memes) to only image attachments. Text-only messages are deleted.
Flag messages with >X% uppercase characters. Only applies to messages above a minimum length (avoids false positives on short acronyms).
Repeated emoji (custom or unicode). Trigger: the same emoji appears >N times in one message.
Detects copy-paste across channels. Trigger: same message text posted in ≥3 channels within 60 seconds.Classic signature of ad-spam accounts.

Action chain

Each rule has an ordered action list. Common patterns:
  1. Delete only — quietest option. Message disappears, user is not notified.
  2. Delete + Warn — user gets a warning case, shows up in their mod history.
  3. Delete + Warn + Mute 10m — escalation for repeat offenders.
  4. Delete + Ban — zero tolerance (e.g. for phishing URL regex).

Exempt roles + channels

Every rule has an exempt roles list and an exempt channels list. Staff roles are typically exempt from everything; specific channels like #off-topic or #shitpost might be exempt from caps or duplicate rules.

Triggers feed

Every AutoMod trigger is logged. The Triggers tab shows:
  • What rule fired
  • Message content (last 1 000 chars)
  • User + channel
  • Action taken
Use it to audit false positives and tune thresholds.

Best practice

Start with conservative rules and loosen from there. Over-triggering AutoMod erodes user trust more than under-triggering. Watch the triggers feed for the first week, tune thresholds, then add more rules.