Custom Commands homeCustom Commands
  • PremiumPremium
  • TemplatesTemplates
  • CompareCompare
  • BlogBlog
  • SupportSupport

Auto moderation

Discord auto moderation that stops scams and spam

The bot reads every new message and removes scam links and spam the moment they land, and it watches joins for raids. Try to break the rules below: type as Kai and see which check catches you.

Set it up How to set it up
Post as
In

Pixel Club

  • rules
  • general
  • self-promo
  • mod-log

general

Z

ZoeToday at 4:20 PM

gg everyone
L

LeoToday at 4:20 PM

who is up for one more round?

Send a message. It runs through the checks from the top, and the first one it breaks acts.

Kai's strikes0 of 5
  1. Time out 1 h
  2. Kick
  1. DDiscord AutoModFreeYour own words: badword, grumbleflopBlock, alert
  2. 1Scam linksKnown scam sites and lookalikesWarn
  3. 2Leaked tokensA Discord login tokenWarn
  4. 3Message flood5 messages in 5 secondsTime out 10 min
  5. 4Repeated messagesThe same message 3 times in 20 secondsDelete
  6. 5Mass mentionsMore than 5 mentionsTime out 10 min
  7. 6Invites and linksServer invitesDelete
  8. 7All caps70% capitals, 10+ lettersDelete
  9. 8Emoji spamMore than 10 emojisDelete
  10. 9Walls of textOver 1,500 characters or 25 linesDelete
  11. 10Zalgo textLetters buried in accent marksDelete

mod-log

Nothing yet. Every action lands here with who, what and why.

The demo runs the bot's default settings, with a two-step strike ladder. Its scam list has one site; the real one has thousands.

Anti-spam and scam link checks

16 checks, each with its own switch and its own action. Every one is off until you turn it on. Shown here with the settings a server starts with.

Links written out to dodge filters, like discord[.]gift, and short links are read too.

Links5

  • Scam linksDelete and warn

    Known scam and phishing sites, from public lists that update every few hours. Can also catch fake Discord, Steam, Epic Games and Roblox sites before any list has them.

  • Blocked sitesDelete

    Adult sites, gambling and IP grabbers, plus any sites you add.

  • Invites and linksDelete

    Invites to other servers, every other link, or both.

  • Dangerous filesDelete and warn

    15 file types that can run on a computer, like .exe and .bat. Edit the list.

  • Leaked tokensDelete and warn

    A Discord login token posted by mistake. The poster is told to reset it.

Spam9

  • Message floodDelete and time out

    5 messages within 5 seconds.

  • Repeated messagesDelete

    The same message 3 times within 20 seconds.

  • Same message in many channelsDelete

    One message in 3 channels within 30 seconds.

  • Spam ringsDelete and time out

    The same message from 3 members within 60 seconds. Every copy goes.

  • Mass mentionsDelete and time out

    More than 5 mentions in one message, or too many over a few messages.

  • All capsDelete

    70% capital letters, in messages of 10 letters or more.

  • Emoji spamDelete

    More than 10 emojis in one message.

  • Walls of textDelete

    More than 1,500 characters or 25 lines.

  • Zalgo textDelete

    Glitchy text with marks stacked on the letters.

Joins2

  • RaidsAlert the mod log

    10 joins within 10 seconds. Can also lock channels or turn on slowmode.

  • New accountsAlert the mod log

    Accounts younger than 7 days. Alert, give a holding role, kick or ban.

Warn, time out, kick or ban

The message always goes. Then each check does what you picked. Every hit is a strike that counts for 30 days, so you can go harder on members who keep at it.

Five responses, mild to harsh

  1. Delete
  2. Delete and warn
  3. Delete and time out
  4. Delete and kick
  5. Delete and ban

A warning is posted in the channel and never shows the removed link. A timeout lasts as long as you set. A ban can also clear the member's recent messages, from none up to 7 days.

A strike ladder

  1. 3 strikesTime out for 10 minutes
  2. 5 strikesKick
  3. 8 strikesBan

The bot takes the harsher of the check's own action and the step the member reached. Give a single check its own ladder, for example a ban after 2 scam links.

Discord anti-raid protection

When 10 members join within 10 seconds, the bot alerts your mods, or kicks or bans the wave. It can also lock channels or turn on slowmode, then put them back on its own.

Joins, last 10 seconds

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10

The 10th join trips it. You set both numbers.

# mod-log

Possible raid

10 members joined within 10s.
Action: alert.

Posted once per wave, not once per member.

Lockdown

  • Slowmode of 30 seconds, or stop everyone sending
  • In the channels you pick
  • Undone after 10 minutes

New accounts: members younger than 7 days can get a holding role instead.

Skip roles, channels and sites

Staff are left alone by default, like in Discord's own AutoMod. Add your own exceptions for the whole server, or for one check. In the demo above, Mia has the Mods role and #self-promo allows invites.

For the whole server

  • Leave these roles alone@Modsup to 100
  • Skip these channels#staff-chatup to 100
  • Always allow these sitespixelclub.ggup to 500

For one check

  • Invites and links: skip#self-promoits own list
  • All caps: leave alone@Hype Squadits own list
  • Scam links: its own strikes2 strikes, banown ladder

Free Discord AutoMod rules

Discord's own AutoMod blocks a message before it is posted. Make and edit its rules from the same page, on every plan. It is the place for a bad word filter.

New rule

Bad words

Trigger

Keywords

Words

badwordgrumbleflopzonk*

Actions

  • Block the messageWith your own note
  • Send an alertTo #mod-log
  • Time outFor as long as you set
  • Keywords

    Up to 1,000 words and 10 patterns, with an allow list.

  • Preset lists

    Discord's lists of profanity, sexual content and slurs.

  • Mention spam

    Too many mentions in one message, up to 50.

  • Spam

    Messages Discord itself thinks are spam.

Auto moderation on each plan

Discord AutoMod is free. The bot's own checks come with any paid plan.

Free

Discord AutoMod rules

  • Keyword, preset, mention and spam rules
  • Block, alert and time out
  • Skip roles and channels per rule

Starter, Basic and Advanced

All 16 checks

  • Scam links, spam, raids and new accounts
  • Strikes, and a mod log entry for every action
  • Kept free: checks a free server already had on before these checks went premium
See the plans

Set up auto moderation in four steps

No code and no commands to learn. Everything is in the dashboard.

  1. 1

    Open Auto Moderation

    Pick your server in the dashboard and open Auto Moderation. It has four tabs.

    ChecksSettingsDiscord AutoModLog
  2. 2

    Turn it on

    Flip the main switch at the top. The page saves on its own.

    Auto moderation
  3. 3

    Pick the checks

    Turn on the checks you want and choose what each one does. Scam links is a good start.

    Scam linksThen: delete and warn
  4. 4

    Choose a mod log

    On the Settings tab, pick the channel where every action is posted, and the roles and channels to skip.

    Mod log channel# mod-log

Questions?

What does it catch?

+

Scam and phishing links, blocked sites, server invites, dangerous files, leaked tokens, message floods, repeated messages, the same message in many channels, spam rings, mass mentions, all caps, emoji spam, walls of text, zalgo text, raids and brand-new accounts. You turn on only the ones you want.

What happens to the member?

+

The message is always removed. For each check you choose what else happens: nothing, a warning in the channel, a timeout, a kick or a ban. Each hit is a strike for 30 days, and you can set steps so a member who keeps breaking the rules gets a harsher response.

Can it filter bad words?

+

Yes, with Discord's own AutoMod, which you manage from the same page for free. Add your own words or pick Discord's lists, like profanity. Discord blocks the message before it is posted.

Is anything on by default?

+

No. Nothing is checked until you turn it on, so the bot never surprises your members.

Does it check my moderators?

+

Not by default. The server owner and members with Administrator, Manage Server or Manage Messages are left alone, like in Discord's own AutoMod. Turn on Check staff too to test the checks on yourself. You can also skip any role or channel.

Can I see what it removed?

+

Yes. Every action is posted to a mod log channel you pick, with the member, the check, the strike count and what happened. The Log tab in the dashboard lists them too.

What permissions does the bot need?

+

Manage Messages to remove messages, Timeout Members, Kick Members and Ban Members for those actions, Manage Channels for raid lockdown, and Manage Roles to give new accounts a role. Discord AutoMod rules need Manage Server.

Is it free?

+

Managing Discord's own AutoMod rules is free on every plan. The bot's own checks, like scam links, spam and raids, need a paid plan. A free server keeps any checks it already had on before these checks went premium.

Open the dashboard Read the guideCompare with MEE6 and Dyno
Custom CommandsCustom Commands

The #1 Custom Commands Discord bot — commands, tickets, forms and levels, all from one dashboard.

Join the support server

Product

  • Overview
  • Why us?
  • Premium
  • Template shop

Community

  • Leveling
  • Global leaderboard
  • Welcome messages
  • Reaction roles
  • Social alerts
  • Voice recording

Server tools

  • AI Agent
  • Tickets
  • Forms
  • Auto moderation
  • Embed builder
  • Custom bot

Resources

  • Docs
  • Blog
  • Support
  • Dashboard
contact@ccbot.app

2 Frederick Street, London, WC1X 0ND

Payments secured by Stripe

PrivacyTerms© WEiRDSOFT LTD. All rights reserved.

Custom Commands