Management ยท 7 min min read

Discord Auto-Moderation Setup Guide 2026

Spam, raids, word filters. Zero false positives. Complete walkthrough.

๐Ÿ“… Feb 18, 2026ยทโฑ 7 minยทserver.ninja editorial

A properly configured auto-mod handles 85% of moderation issues without human intervention. Here's the exact setup that works โ€” from spam detection to raid lockdown.

85%
issues auto-handled
<1s
raid lockdown time
<5%
false positive target

Layer 1: Spam Detection

Spam is the most common moderation issue and the easiest to automate. Set thresholds, not keywords. Keyword filters are gamed in minutes. Rate-based detection is far more effective.

RuleThresholdAction
Message rate5 msgs in 5 secondsTimeout 10 min
Duplicate messages3 identical in 5 minDelete + warn
Mention spam5+ mentions in 1 messageDelete + timeout 1h
Link spam3+ links in 2 minDelete + warn
Caps abuse80%+ caps, 20+ charsDelete

Layer 2: Raid Protection

Raids are coordinated mass-joins designed to spam or overwhelm a server. The key is detecting the join velocity spike before the spam starts โ€” not after.

  • โ†’Set a join rate alert: 10+ joins in 30 seconds = auto-lockdown mode
  • โ†’Lockdown mode: pause verification, restrict new members to read-only for 10 minutes
  • โ†’Auto-ban accounts under 7 days old during an active raid (toggle off after)
  • โ†’Enable CAPTCHA verification only during lockdown โ€” not permanently, it kills conversion

server.ninja's raid protection activates in under 1 second. It detects join velocity spikes before the first spam message hits. You'll see the alert before your members see anything.

Layer 3: Word Filters

Word filters should be surgical, not comprehensive. Trying to filter every slur creates thousands of false positives that alienate good members. Focus on three categories only.

  • โ†’Category 1: Obvious slurs โ€” zero tolerance, immediate ban
  • โ†’Category 2: Context-dependent terms โ€” warn + human review, not auto-ban
  • โ†’Category 3: Server-specific banned topics โ€” delete only, no punishment unless repeated
  • โ†’Never filter common words with double meanings โ€” the false positive rate destroys trust

Layer 4: New Member Restrictions

New members are responsible for 80% of spam and raid activity. A brief restriction window eliminates most of it without affecting legitimate members.

RestrictionDurationWhat it prevents
No external links24hPhishing and spam links
No embeds12hNSFW image spam
No mass mentions48hMention spam raids
Slow mode (3s)First 7 daysDrive-by spam accounts

Track these metrics โ€” Free

Analytics + moderation + leveling. 80% free.

Add to Discord โ€” Free

2 min setup ยท No credit card