bot-tutorial

Discord Moderation Bot Setup Guide: Auto-Mod, Anti-Spam & Filters

Learn how to set up a Discord moderation bot with auto-moderation, anti-spam, and custom word filters — step-by-step tutorial for admins and moderators.

August 2, 2026 · 454 views

Running a healthy, safe, and engaging Discord server starts with smart moderation — and doing it manually at scale is simply unsustainable. That’s where a well-configured Discord moderation bot becomes your most valuable teammate 🤖✨. Whether you're managing a growing gaming community, an educational study group, or a professional workspace, automating core moderation tasks like spam detection, toxic word filtering, and rule enforcement saves time, reduces bias, and keeps your server welcoming for everyone.

This comprehensive Discord moderation bot setup guide walks you through configuring powerful, free-to-start bots (like Dyno, MEE6, and Carl-bot) — plus native Discord AutoMod — with hands-on steps for enabling auto-mod, anti-spam, and custom word filters. We’ll cover best practices, common pitfalls, and how to fine-tune settings so your bot enforces rules consistently without over-policing.


Why You Need Automated Moderation (Beyond Just Convenience)

Manual moderation works for small servers — but as member count climbs past 100, response time lags, inconsistencies creep in, and burnout sets in fast. Automated moderation isn’t about replacing human judgment; it’s about augmenting it. A good bot handles the repetitive, high-volume tasks — like catching repeated emoji spam, blocking links from unverified users, or flagging slurs — freeing your team to focus on nuanced issues: conflict resolution, community building, and proactive engagement.

Key benefits include:

  • ⚡ Instant response to violations (no more waiting for a mod to come online)
  • 📊 Consistent enforcement across all channels and roles
  • 🛡️ Proactive risk reduction (e.g., preventing mass raids before they escalate)
  • 📈 Higher trust and retention — members feel safer knowing clear boundaries exist

And yes — Discord now offers built-in AutoMod, but combining it with a dedicated moderation bot gives you far more granular control, especially for custom filters and role-based exceptions.


Step-by-Step: Setting Up AutoMod (Discord’s Native Tool)

Discord AutoMod (introduced in 2022 and expanded since) is free, reliable, and integrated directly into server settings — making it the perfect foundation layer. Here’s how to activate and tune it:

1. Enable AutoMod

  1. Go to Server SettingsModerationAutoMod
  2. Toggle Enable AutoMod ON
  3. Click + Create Rule

2. Configure Core Rules

Discord offers 4 preset rule types — use them strategically:

  • Profanity Filter: Blocks messages containing words from Discord’s curated list (or your custom list). ✅ Recommended for all servers.
  • Spam Detection: Triggers on rapid message repetition, identical content, or excessive punctuation/emojis. ✅ Critical for public servers.
  • Invite Link Filter: Blocks unauthorized discord.gg/ links — ideal for preventing raiders and scammers.
  • Custom Word Filter: Add your own phrases (e.g., “free nitro”, “join my server”, competitor names).

💡 Pro Tip: Start with “Warn then Timeout” actions instead of immediate bans. This educates new members while still enforcing boundaries.

3. Set Exceptions

AutoMod respects role permissions! To prevent false positives:

  • Under each rule → Exceptions → Add roles (e.g., Moderator, Admin) to bypass that rule.
  • You can also exempt specific channels (e.g., #spam-testing or #mod-logs).

[Image: AutoMod dashboard showing rule creation panel with 'Warn then 10m timeout' selected]


Adding a Dedicated Moderation Bot: Dyno Setup Walkthrough

While AutoMod covers basics, bots like Dyno bring advanced logic, logging, custom responses, and cross-server scalability. Dyno is free, open-source-friendly, and widely trusted — great for beginners and power users alike.

Step 1: Invite Dyno

  • Visit https://dyno.gg → Click Add to Discord
  • Select your server → Authorize permissions (ensure “Manage Messages”, “Kick Members”, and “Manage Roles” are enabled)
  • Confirm OAuth prompt

Step 2: Configure Auto-Moderation

In Discord, type /setup in any channel where Dyno has permissions — or visit Dyno’s web dashboard (dashboard.dyno.gg) → select your server.

🔹 Anti-Spam Module

  1. Go to ModulesAnti-Spam → Enable
  2. Set thresholds:
    • Max messages per 10 seconds: 5
    • Max repeated messages per minute: 3
    • Max mentions per message: 5
  3. Action: Timeout for 5 minutes + send log to #mod-logs

🔹 Word Filter Module

  1. Navigate to FiltersWord Filter → Enable
  2. Click + Add Filter
  3. Enter trigger phrases (support regex!):
    \b(free\s+nitro|verify\s+now|discord\s+server\s+list)\b
    
    (This blocks variations like “Free Nitro”, “verify now”, etc.)
  4. Set action: Delete + Warn user + Log

🔹 Custom Response (Bonus!)

Use Dyno’s Auto-Response module to reply to common spam patterns with helpful info:

  • Trigger: how do i get nitro?
  • Response: ⚠️ Nitro is only available via official Discord purchase. Beware of scams! Learn more: https://discord.com/nitro

[Image: Dyno dashboard showing Word Filter table with regex pattern and timeout action]


Advanced: Layering MEE6 for Role-Based Filtering

MEE6 excels at context-aware moderation — especially when combined with level roles or verification status. Use it alongside AutoMod and Dyno for intelligent escalation.

Example Setup: “New Member” Word Filter

You want stricter filtering for unverified users (<24h old), but relaxed rules for trusted members.

  1. In MEE6 Dashboard → ModerationWord Filter
  2. Click + Add Filter
  3. Set conditions:
    • Apply to roles: @Unverified (or use “No role assigned” if using verification)
    • Words: sell account, buy nitro, discord gift
    • Action: Delete + 15m timeout
  4. For @Trusted role: create a separate filter with milder action (Warn only) or whitelist keywords.

💡 Bonus: MEE6’s Slowmode Scheduler can auto-enable slowmode in #general during peak spam hours — pair it with a cron-style command like /schedule slowmode #general 30s at 7PM daily.


Best Practices for Safe & Fair Filtering

A poorly tuned bot damages trust faster than no bot at all. Follow these principles:

Test before deploying: Use a test channel with @everyone disabled and invite a friend to simulate spam/trigger phrases.

Document your filters publicly: Post a pinned message in #rules like:

🛑 Our bot automatically deletes messages containing scam links, slurs, or aggressive spam. Repeated violations lead to timeouts. Questions? DM a mod!

Review logs weekly: Check #mod-logs for false positives — adjust regex or add whitelisted phrases (e.g., allow “NITRO” in #announcements if referencing official giveaways).

❌ Avoid over-blocking: Don’t blanket-block “discord” or “server” — use context-aware phrases instead.

❌ Never rely solely on keyword matching for sensitive topics (e.g., self-harm). Pair with human review workflows and mental health resources.


Quick Tips for Ongoing Success

  • 🔄 Rotate filter reviews monthly: Update blocked terms based on emerging scam patterns (check r/DiscordMods or DiscordCraft’s weekly threat briefs).
  • 📈 Track metrics: Use Dyno or Carl-bot’s /stats command to see filter hit rates — if >80% of triggers come from one IP or role, investigate coordinated abuse.
  • 🧩 Chain tools intelligently: Let AutoMod catch obvious spam → Dyno handle custom regex → MEE6 manage role-tiered consequences.
  • 🗂️ Back up configs: Export Dyno/MEE6 settings via their dashboards — critical before server migrations or major updates.
  • 🌐 Use DiscordCraft for inspiration: The DiscordCraft Moderation Hub hosts community-vetted filter lists, AutoMod presets, and mod training checklists — all free and open-source.

FAQ: Common Moderation Bot Questions

Q: Do I need coding knowledge to set up these bots?
A: Absolutely not! All three tools (AutoMod, Dyno, MEE6) use intuitive dashboards and slash commands. Regex is optional — plain-text phrases work perfectly for most needs.

Q: Can AutoMod and a bot conflict with each other?
A: Rarely — but avoid duplicating identical actions (e.g., both deleting the same link). Instead, tier them: AutoMod warns, bot timeouts. Use /dyno logs or /mee6 logs to audit overlap.

Q: Are these bots safe? What permissions do they really need?
A: Reputable bots (Dyno, MEE6, Carl-bot) are audited regularly and open-source. Only grant the minimum permissions needed — never “Administrator”. Review permissions yearly.

Q: My bot isn’t catching certain spam — what should I check first?
A: 1) Is the channel excluded from the module? 2) Does the user have an exempt role? 3) Are your regex patterns too strict/loose? Try testing patterns at regex101.com first.


Final Thoughts: Moderation Is a Practice, Not a Plugin

Setting up a Discord moderation bot is just the first milestone — not the finish line. Your configuration will evolve as your community grows, as threats shift, and as your team refines its values. The goal isn’t zero incidents; it’s predictable, transparent, and restorative enforcement.

Start simple: enable AutoMod today, add Dyno next week, then layer in role-based rules once your mod team is comfortable reviewing logs. Document everything. Celebrate wins (“We blocked 200 scam links this month!”). And remember — the best moderation feels invisible… until someone needs help, and your team shows up, ready and kind. 💙

Ready to go deeper? Explore DiscordCraft’s free Moderation Playbook, featuring customizable SOPs, incident response templates, and quarterly audit checklists — designed by veteran community leads who’ve managed servers from 500 to 500K members.