Noxyr Noxyr
Noxyr Noxyr
Features Custom Bot Business
Resources
Resources CommandsEvery slash command, searchable
Learn DocsA guide for every module TutorialSet the bot up step by step ArticlesBot comparisons and how-tos CompareNoxyr next to other bots
Extras Custom BotRun every Noxyr feature under your own bot's name and avatar. One Top.gg vote unlocks it. ToolsTimestamps, fonts and welcome text MusicThe music player, up close Noxyr RushPlay to win custom bot time
Site StatusUptime over the last 30 days ChangelogWhat shipped lately Noxyr MCPRun your server from Claude, ChatGPT, Cursor and more
Community Web storesLive stores run with Noxyr LeaderboardFeatured servers using Noxyr
Company
Company About usWho Noxyr is for and why it exists
Company PartnersThe host and bots we work with TeamThe people and AI agents behind Noxyr DonorsThe people who keep Noxyr free BrandingLogos, colours and how to use them
Get in touch Contact usQuestions, ideas or partnerships Become a partnerGet your bot or host listed ReviewsWhat server owners say on Top.gg
Support
Language
Change theme
Vote Donors
EN

Choose a language

English العربية 中文 Čeština Français Deutsch हिन्दी Bahasa Indonesia Italiano 日本語 한국어 Polski Português Español Türkçe Tiếng Việt
Bright themes
Dark themes
Business
Add Bot Log in
Home/Features
Security

November 14, 2026 ·6 min read · By Mike

Discord Anti-Spam Bot: Rate Limits, Duplicates and Mass Mentions

Red silk ribbons of light flowing across a dark burgundy background

A Discord anti-spam bot watches how fast and how often each member posts, then times out and cleans up anyone who crosses a limit. Noxyr checks three things: too many messages in a short window, the same message repeated, and too many mentions in one message. Every number is yours to change.

Three triggers, one timeout

Noxyr keeps each member's recent messages in memory and acts the moment any limit is passed inside the window. These are the defaults you start with.

SettingDefaultCatches
max_messages in window_seconds6 messages in 8 secondsFlooding
duplicate_limit4 identical messagesCopy-paste spam
mention_limit6 mentions in one messageMass pings
timeout_minutes10How long the member is muted
delete_messagesOnRemoves the offending messages

When a trigger fires, the member is timed out and cannot send messages, react or join voice until it ends. The log channel gets an entry that names the trigger, so you can see why it happened.

Turn it on

Anti-spam is off by default, as is anti-nuke. The Security module is a master switch that is on, but nothing acts until you enable each protection. That means adding Noxyr never starts moderating your members by surprise.

  1. Pick a log channel first. Without one the bot still acts, but you will not know what it did.
  2. Enable it: run /security antispam enabled:true, or open the Security page on the dashboard.
  3. Check permissions. The bot needs Timeout Members and Manage Messages.
  4. Watch the log for a few days and adjust.

Who is exempt

Members with Administrator, or one of the admin roles you configure, are not acted on, and messages from bots are not inspected. There is no separate trust list for anti-spam. To keep a channel out of it, either deny the bot View Channel there or use /security ignore with the Anti-spam rule, which switches the rule off in the channels or categories you pick.

Tuning for real servers

The defaults suit a normal chat. Busy events are different.

  • A hype channel during a drop will trip 6 messages in 8 seconds for ordinary people. Raise max_messages or ignore that channel for the event rather than turning the feature off.
  • A quiet server with raids can lower the limits. Four messages in six seconds is still far more than most people type.
  • A server with strict rules can lengthen timeout_minutes so a repeat offender sits out longer.

Change one number at a time and wait. If you change three, you will not know which one fixed the false alarms.

What anti-spam does not do

It reacts to behavior, not content. It will not know that a polite message is a scam. For that, add the link rules: the anti-link bot removes invites and scam links, and the hacked-account shield deletes the same message or link posted in 3 channels within 2 minutes. Raid mode adds a join-rate check: 10 joins in 30 seconds. All of those are covered in the protection docs.

A worked example

Say a member pastes the same sentence five times. By the fourth identical message they pass the duplicate limit. Noxyr times them out for ten minutes, deletes the copies, and writes an entry in your log channel that says the duplicate trigger fired. A moderator reading the log can see exactly which rule caught them, and decide whether a longer timeout or a warning makes sense.

Now say a hijacked account pings a role six times in one message. The mention limit catches it on the first message, before the ping can wake the whole role a second time.

When the bot seems to do nothing

  • It is still off. Anti-spam does nothing until you enable it. Run /security status to check.
  • The member is an admin. Administrators and admin roles are never acted on, so test with a plain account.
  • The bot lacks a permission. Without Timeout Members it cannot mute, and without Manage Messages it cannot delete.
  • The role is too low. The bot cannot time out someone whose top role sits above its own.
  • The channel is ignored. Check /security ignore action:List.

Anti-spam also runs inside AI chat channels and ticket channels, so a flood there is treated like anywhere else.

If you are unsure where to begin, keep the defaults for a week. Read the log channel each day, and loosen or tighten one number at a time. The log shows which trigger fired, so you can see whether your community needs a looser message limit or a stricter duplicate limit.

Next steps

The reference is in the anti-spam docs. For strategy, read the anti-spam bot guide, and see how to protect a Discord server from raids. Combine it with verification and anti-nuke for layers. Add Noxyr to try it.

Common questions

What does the Noxyr anti-spam bot detect?

It acts when a member passes any of three limits inside the window: total messages, identical messages, or mentions in one message. Defaults are 6 messages in 8 seconds, 4 duplicates and 6 mentions.

What happens when someone spams?

The member is timed out, for 10 minutes by default, and the offending messages are deleted if delete_messages is on, which is the default. The log channel gets an entry with the trigger.

How do I turn anti-spam on?

It is off by default. Run /security antispam enabled:true or enable it on the Security page of the dashboard.

Can I exempt a channel from anti-spam?

Yes. Use /security ignore to switch the Anti-spam rule off in a channel or category. Admins and your configured admin roles are never acted on.

Is the anti-spam bot free?

Yes. Anti-spam and the rest of the security modules are free.

Run your server from one dashboard

Noxyr covers tickets, security, moderation, welcome messages, invoices and giveaways, free.

Add to Discord, Free

Keep reading

Community Discord Application Bot: Staff Applications in Private Channels November 14, 2026 · 6 min read Automation Discord Auto React Bot: Add Reactions to Every Message in a Channel November 14, 2026 · 5 min read Support Discord Auto Responder Bot: Replies to Trigger Words, Instantly November 14, 2026 · 6 min read Store Discord Coupon Bot: Discount Codes for Your Server Shop November 14, 2026 · 6 min read Customization Discord Custom Commands Bot: Rename Commands With No Code November 14, 2026 · 6 min read Utilities Discord Embed Bot: Send Custom Embeds With a Command or a Form November 14, 2026 · 6 min read Community Discord Invite Tracker Bot: See Who Invited Who November 14, 2026 · 6 min read Moderation Discord Logging Bot: Deleted Messages, Edits, Voice and Joins November 14, 2026 · 6 min read Music Discord Lyrics Bot: Live Lyrics for the Song Playing Now November 14, 2026 · 5 min read Languages Discord Multilingual Bot: Pick the Bot Language for Your Server November 14, 2026 · 5 min read
Noxyr

Built for Discord communities.

Product

  • Shop Bot
  • Invoice Bot
  • Ticket Bot
  • Giveaway Bot
  • Security Bot
  • Music Bot

Resources

  • Features
  • Docs
  • Articles
  • Command List
  • Compare
  • Free Tools

Company

  • About us
  • Partners
  • Team
  • Donors
  • Branding
  • Become a partner
  • Contact us

Support

  • Support Center
  • Support server
  • Vote on Top.gg
  • Status

Legal

  • Terms of Service
  • Privacy Policy
  • Refund Policy

© 2026 Noxyr. All rights reserved.

Something went wrong

An unexpected error happened.

Report it
esc

Confirm action

Are you sure?