Repository navigation
03 AutoMod Protection
RookieBot includes 5 automatic protection shields that run 24/7 in the background—all enabled by default as soon as the bot joins your server.
-
🔗 Anti-Invite Links: Blocks unauthorized
discord.gg/...anddiscord.com/invite/...links. - 🚫 Custom Word Blacklist: Blocks your server's banned words and scam phrases (smart whole-word matching prevents false positives!).
-
📢 Anti-Mass Mention: Blocks messages pinging 5 or more users at once, or unauthorized
@everyone/@hereattempts. - ⚡ Anti-Spam / Flood: Deletes messages if someone sends more than 5 messages in 5 seconds, and automatically applies a 1-minute timeout if they hit 8+ messages in 5 seconds.
-
🚨 Auto Anti-Raid Join Guard: Detects sudden join raids (5+ members joining within 10 seconds), places incoming raid accounts on a 10-minute containment timeout, and alerts
#mod-logs!
AutoMod never deletes messages from:
- The Server Owner
- Any Bot
- Members with Administrator, Manage Server, or Manage Messages permissions
-
/automod status— Check all 5 shields -
/automod toggle— Turn individual shields On or Off -
/automod word add— Add a word/phrase to the blacklist (Admin) -
/automod word remove— Remove a word from the blacklist (Admin) -
/automod word list— View all blacklisted words privately (Admin) - What Members & Logs See When Triggered
Displays the live On/Off status of all five AutoMod shields and lists who is exempt.
| Property | Value |
|---|---|
| Command Syntax | /automod status |
| Who Can Use It | @everyone |
| Bot Needs |
Send Messages, Embed Links
|
| Where It Works | Any server text channel |
| What Discord Shows | Public Embed |
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 1:20 PM │
├─────────────────────────────────────────────────────────────┤
│ 🛡️ Auto-Moderation System Status │
│ │
│ 🔗 Anti-Invite Links │
│ 🟢 Enabled │
│ │
│ 📢 Anti-Mass Mention │
│ 🟢 Enabled (Blocks 5+ users) │
│ │
│ ⚡ Anti-Spam / Flood │
│ 🟢 Enabled (Deletes rapid flood > 5 msgs/5s) │
│ │
│ 🚫 Custom Word Blacklist │
│ 🟢 Enabled (3 word(s)) │
│ │
│ 🚨 Auto Anti-Raid Join Guard │
│ 🟢 Enabled (Flags 5+ joins/10s) │
│ │
│ 🛡️ Exemptions │
│ Server Owner, Administrators, and Members with │
│ Manage Messages / Manage Server. │
│ │
│ Use /automod toggle or /automod word to configure │
│ protections. │
└─────────────────────────────────────────────────────────────┘
Turns an individual AutoMod shield On (True) or Off (False).
| Property | Value |
|---|---|
| Command Syntax | `/automod toggle filter_name: enabled:<True |
| Who Can Use It | Members with Manage Server (Manage Guild) permission |
| Bot Needs |
Manage Messages, Timeout Members (Moderate Members) |
| Where It Works | Any server text channel |
| What Discord Shows | Public Embed |
-
filter_name(Required): Pick from Discord's dropdown choices:Anti-Invite LinksAnti-Mass MentionAnti-Spam / FloodCustom Word BlacklistAuto Anti-Raid Join Guard
-
enabled(Required): ChooseTrue(enable) orFalse(disable).
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 1:25 PM │
├─────────────────────────────────────────────────────────────┤
│ 🛡️ Auto-Mod Setting Updated │
│ Anti-Invite Links is now 🔴 Disabled. │
│ │
│ Updated by Moderator │
└─────────────────────────────────────────────────────────────┘
Adds a banned word or scam phrase (2 to 50 characters, case-insensitive, up to 100 entries per server).
- Type
/automod word add. - Enter
word(e.g.,free nitroor a banned word) and pressEnter.
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 1:27 PM 👁️ Only you can see │
├─────────────────────────────────────────────────────────────┤
│ 🚫 Blacklisted Word Added │
│ free nitro will now be automatically blocked by AutoMod. │
└─────────────────────────────────────────────────────────────┘
(If already present: ℹ️ free nitro is already in the blacklist.)
Removes a word or phrase from your server's blacklist.
-
Removed:
✅ Removed free nitro from the blacklist.(Only you can see this) -
Not found:
❌ free nitro was not found in the blacklist.(Only you can see this)
Displays up to 50 blacklisted words privately (👁️ Only you can see this) so profanity or scam keywords never leak into public chat.
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 1:29 PM 👁️ Only you can see │
├─────────────────────────────────────────────────────────────┤
│ 🚫 AutoMod Blacklisted Words (2) │
│ badword, free nitro │
└─────────────────────────────────────────────────────────────┘
When a regular member violates an active AutoMod rule, their message is deleted immediately, and RookieBot posts a brief warning that auto-deletes itself after 5 seconds:
-
External Discord Invite Blocked:
⚠️ @Member, posting external Discord invite links is not allowed! -
Blacklisted Word / Phrase Blocked:
⚠️ @Member, your message contained a restricted word or phrase. -
Mass Mention Blocked (5+ pings or unauthorized
@everyone):⚠️ @Member, mass mentions and spam pings are prohibited! -
Chat Flood Warning (6–7 messages within 5 seconds):
⚠️ @Member, please slow down! You are sending messages too quickly. -
Severe Flood Auto-Timeout (8+ messages within 5 seconds):
⏳ @Member was placed on a 1-minute timeout for spamming. -
Anti-Raid Join Burst (posted to
#mod-logswhen 5+ members join within 10s):┌─────────────────────────────────────────────────────────────┐ │ 🚨 Anti-Raid Alert Triggered │ │ Detected 5 joins within 10 seconds! │ │ Incoming join @Raider (123456789) has been placed on a │ │ 10-minute containment timeout. │ └─────────────────────────────────────────────────────────────┘
🛡️ Security & Moderation
📩 Support, Roles & Stats
- 05. Support Tickets
- 18. Staff Applications
- 06. Roles & Auto-Roles
- 07. Welcome, Leave & Logs
- 08. Server Stats Counters
📈 Leveling & Economy
💬 Voice & Community
- 11. Temporary Voice Channels
- 12. Suggestions, Starboard & Polls
- 13. Tags, AutoResponder & Sticky
- 16. Birthdays & Celebrations
- 17. Invites & Referrals
🧰 Utilities & Premium