Discord Auto-Moderation Setup: Filter Spam, Links & Bad Words
Learn how to configure Discord's built-in Auto-Moderation system to filter spam, block malicious links, and suppress bad words—no bots required! ✅
November 5, 2026 · 149 views
Discord Auto-Moderation is a powerful, native server safety feature that helps moderators proactively filter spam, suspicious links, and harmful language—without installing third-party bots. As of 2026, it’s available to all servers (including those without Boosts), making it the go-to Discord auto-moderation setup for communities prioritizing safety, scalability, and simplicity. Whether you're managing a small hobby server or a growing education hub, mastering this tool is essential for healthy moderation hygiene 🛡️.
In this comprehensive Discord server setup guide, we’ll walk you through configuring Auto-Moderation step-by-step—including real-world examples, best practices, and common pitfalls to avoid. You’ll learn how to fine-tune rules for maximum effectiveness while preserving community voice and trust.
Why Use Discord Auto-Moderation? (Not Just for Big Servers)
Before diving into the setup, let’s clarify why this native tool matters more than ever in 2026:
- ✅ No bot permissions needed: Unlike legacy moderation bots, Auto-Moderation runs natively—no
Manage Messages,Ban Members, or scary permission scopes. - ✅ Real-time enforcement: Rules trigger before messages appear (for members without bypass roles), reducing exposure to harmful content.
- ✅ Audit-friendly: Every action appears in your Server Audit Log with clear context (e.g., "Auto Moderation Rule Triggered: 'Suspicious Link'").
- ✅ Scalable & low-maintenance: Once configured, it works 24/7—even while your mods sleep 😴.
Note: Auto-Moderation is not a replacement for human judgment—but it is your first line of defense. Think of it as your tireless, rule-following assistant who never misses a shift.
Prerequisites: What You’ll Need Before Setup
Before creating rules, ensure your server meets these minimum requirements:
- You must have the Manage Server permission (typically held by Admins and trusted Mods).
- Your server must be on Discord’s latest stable version (auto-updated; no action needed if using desktop/web or mobile v195+).
- (Optional but recommended) A dedicated Moderator role with
View Audit Logenabled—so your team can review triggered actions.
💡 Pro Tip: Create a test channel (e.g., #mod-testing) and invite a friend with a non-mod role to validate rules before deploying them server-wide.
Step-by-Step Discord Auto-Moderation Setup
Let’s build three foundational rules: Spam Detection, Link Filtering, and Keyword Suppression. We’ll use Discord’s intuitive UI (no code required), but we’ll also highlight advanced options where relevant.
Step 1: Access Auto-Moderation Settings
- Open Server Settings (⚙️ gear icon next to your server name).
- In the left sidebar, click Auto Moderation (under Moderation).
- Click + Create Rule.
You’ll see three rule templates: Spam, Keywords, and Invite Links. We’ll customize each manually for precision.
Step 2: Set Up Spam Detection
Spam isn’t just repeated messages—it includes rapid-fire posting, identical content across channels, or burst activity from new accounts.
- Click + Create Rule, then choose Spam as the rule type.
- Name it clearly: e.g.,
🚨 Detect Message Bursts & Copy-Paste Spam. - Under Trigger, keep defaults (they’re well-tuned):
Number of messages sent by a user within 5 seconds→ triggers at 5+ messagesNumber of identical messages sent by a user within 10 seconds→ triggers at 3+ copies
- Under Response, select Timeout (recommended for first offense) or Block Message (more aggressive). For most communities, start with Block Message + send alert to
#mod-alerts. - Under Exempt Roles, add
@Moderator,@Admin, and any verified/trusted roles. - Toggle Enable Rule, then click Save.
✅ Example: A user pastes the same crypto scam link 4 times in #general within 8 seconds → message blocked, mod log entry created, and optional DM notification sent.
Step 3: Filter Harmful & Untrusted Links
Discord’s default link filter catches obvious invites (discord.gg/xxx), but custom rules catch shortened URLs, phishing domains, and newly registered malicious sites.
- Click + Create Rule, choose Keyword (yes—link filtering uses keyword patterns! 💡).
- Name it:
🔗 Block Malicious & Shortened Links. - Under Trigger, select Custom Keyword Set.
- Click + Add Keyword, then enter regex-style patterns (Discord supports basic regex via
*wildcards and literal strings):
⚠️ Note: Avoid overblocking—don’t banbit.ly/* t.co/* tinyurl.com/* hxxps://* http://*.xyzhttps://globally. Focus on known risky patterns. - Under Response, choose Block Message, then enable Send Alert to Channel → pick
#mod-alerts. - Under Exempt Roles, add your Verified, Staff, and Education roles.
- Enable and save.
📌 Bonus: Use DiscordCraft’s Free Link Risk Checker to scan suspicious domains before adding them to your list.
Step 4: Suppress Bad Words & Toxic Language
This is where nuance matters. Auto-Moderation supports keyword sets, not AI sentiment analysis—so avoid blanket bans on complex terms. Instead, focus on unambiguous slurs, doxxing phrases, and coordinated hate speech.
- Click + Create Rule, choose Keyword.
- Name it:
🤬 Block Slurs & Doxxing Phrases. - Under Trigger, select Custom Keyword Set, then add terms exactly as they’d appear (case-insensitive, whole-word matching by default):
✅ Pro tip: Use asterisks only for known variants—Discord does not support full regex liken****r k****r dox me your address is I know where you live/n.*?g/gi. Keep lists minimal and evidence-based. - Under Response, choose Timeout for 10 minutes (first offense) + alert channel.
- Enable Alert users when their message is blocked (transparency builds trust!).
- Save.
🚫 Avoid: stupid, idiot, hate — these lack context and risk overblocking in debates or memes.
Advanced Configuration Tips
Once your core rules are live, level up with these enhancements:
- Rate-limiting per channel: Create separate spam rules for
#announcements(stricter) vs#memes(looser). - Role-based exemptions: Give
@Trusted Member(with 30+ days tenure) auto-exemption from link filters. - Escalation paths: Chain rules—e.g., first bad-word trigger = timeout; second in 24h = 1-hour timeout; third = ban (via manual mod action or bot webhook).
- Audit Log automation: Connect Discord’s Audit Log webhook to Notion or Slack using Zapier—get notified and archived.
[Image: Discord Auto-Moderation dashboard showing 3 active rules with status badges and last-trigger timestamps]
Quick Tips for Long-Term Success
- 🔄 Review weekly: Check
Server Settings > Auto Moderation > Logsfor false positives. Adjust keywords or thresholds accordingly. - 📈 Track metrics: Note how many messages were blocked/timeout per rule (visible in logs). If
Spamfires >50×/day, consider adding CAPTCHA verification via Discord’s Membership Screening. - 🤝 Communicate clearly: Pin a
#rulesmessage explaining why links/bad words are filtered—and how to appeal. Transparency reduces friction. - 🧩 Combine with tools: Auto-Moderation + DiscordCraft’s Moderation Playbook = faster onboarding for new mods.
- 🌐 Localize carefully: If your server is multilingual, create separate keyword sets per language—not one overloaded list.
FAQ: Common Auto-Moderation Questions
Q: Does Auto-Moderation work in DMs or group chats?
A: No—it only applies to messages sent within your server (text, threads, and stage channels). DMs require user-level privacy controls.
Q: Can I export or backup my Auto-Moderation rules?
A: Not natively—but DiscordCraft offers a free Auto-Moderation Exporter CLI (Python-based) that snapshots rules to JSON.
Q: Why did a harmless message get blocked?
A: Most often due to overbroad keywords (e.g., blocking ass → blocks “class”) or wildcard misuse (*.xyz catching my-site.xyz). Always test in #mod-testing first!
Q: Do members see which rule blocked their message?
A: Yes—if you enabled Alert users in the rule response, they’ll receive an embedded message naming the rule (e.g., “Your message was blocked by rule: 🔗 Block Malicious Links”).
Final Thoughts: Auto-Moderation Is Just the Start
A robust Discord server setup doesn’t end with Auto-Moderation—it begins there. This native layer buys your team time, reduces burnout, and creates consistent expectations. Pair it with clear guidelines, empathetic human moderation, and proactive community culture-building… and you’ve got a thriving, safe space.
Remember: Great moderation isn’t about catching every violation—it’s about preventing harm before it spreads. With thoughtful Discord auto-moderation setup, you’re not just reacting—you’re protecting, empowering, and leading.
Ready to go further? Explore DiscordCraft’s Auto-Moderation Health Check for personalized optimization tips based on your server size and activity patterns. 🚀