Discord moderation bot Raids stopped while your mods sleep.
Demo: at four in the morning nine new accounts join Lantern Lounge within four seconds. Lantern detects the join raid and puts all nine in quarantine. Later tobi from the team reads what happened.
Illustration. The real interface may look different.
Your Discord bot's auto-moderation deals with spam, scam links and join waves on its own. For everything else your team has commands, with cases, evidence and logs that still hold up when someone appeals.
Three situations every mod team knows
What the bot does in each of them, and which tool is behind it.
- Spam attack
- Anti-spam mutes the sender and, with auto-delete switched on, removes the messages before most members have seen them.Auto-mod + anti-spam rule
- Rule violation
- A moderator warns the member with /moderate warn. The bot keeps count and escalates once your threshold is reached./moderate warn + auto-escalation
- Coordinated raid
- Anti-join-raid detects the wave, and with lockdown switched on, one command locks the whole server. Your team cleans up when it has the time./moderate lockdown + anti-join-raid
Auto-moderation
The obvious cases never reach your team
You set the rules once: what counts as spam, which links are allowed, what happens on the third warning. The bot enforces them at any hour, including the ones when nobody from staff is online.
- Anti-spam: detectors you switch on one by one, each with its own action and, where it applies, its own threshold and timeframe
- Anti-invite: blocks Discord invite links you have not allowed
- Anti-link: stops link spam and blocks known scam links
- Anti-mention-spam: stops mass mentions
- Anti-join-raid: detects sudden join waves and acts on them
- Bad-word filter: blocks messages with words or phrases you list
Illustration. The real interface may look different.
Moderation commands
Commands for the cases that need a person
From a single warning to locking the whole server. Every action becomes a case with the moderator, the reason and the time, and warnings add up until the bot escalates by the thresholds you set.
- Ban, kick, mute and warn, with durations you set for bans and mutes
- Quarantine suspicious accounts without removing them
- Bulk-delete the most recent messages in a channel
- Lock a single channel or, with lockdown switched on, the whole server
- Every action is recorded per member
- Private moderator notes on a member's profile
Illustration. The real interface may look different.
Verification and Join Gate
New accounts verify before they see your channels
Pick a captcha, a simple challenge or manual approval by staff. It all happens in the verification channel, so it also works for members who have DMs switched off. Join Gate turns accounts away earlier still, by age or missing profile picture.
- Modes: a visual captcha, a simple math or word challenge, a one-click button or manual approval by staff
- A Verify me button in the channel, so nobody needs open DMs
- Join Gate: require a profile picture, a minimum account age or both
- Captcha difficulty, retries, cooldowns and penalty durations are yours to set
Illustration. The real interface may look different.
Everything in this area
The full list, module by module. Open a row for every setting and limit.
Anti-spam detectorsAnti-spam is split into detectors you enable one at a time. Each has its own threshold, timeframe and action, so a burst of mass mentions can end in a mute while an emoji flood is only deleted.
- Message rate
- Duplicate messages
- Mentions
- Mass mentions
- Attachment and image spam
- Link spam
- Newline and character floods
- Sticker and emoji spam
- Channel spread
- Text abuse
- Channel spread catches the same user posting across many channels at once. Text abuse covers excessive CAPS, repeated characters, zalgo and spoiler spam.
- Auto-delete of detected messages can be set globally and overridden per detector. When it fires, it cleans up the whole offending burst across every channel it landed in.
Actions and escalationWhat happens when a rule fires, and how warnings turn into a mute, a kick or a ban.
- An action per rule: warn, mute, kick, quarantine or ban
- Escalation by warning count
- Delete only: remove a scam link, blacklisted word or invite without punishing the member
- New-member restrictions: require a minimum time on the server before members may post attachments or links
- Scam links are matched against a list SCNX maintains, with an option to include suspicious domains
- Escalation runs in steps you set: warning (formal notice), mute, kick, then ban. Three warnings can become a mute and five a ban, for example
- Warnings can expire after a time you set
- Bans and mutes can be temporary and expire on their own
Scam links and anti-griefProtection against stolen accounts, and against a moderator account that goes rogue.
- Scam link detection for confirmed domains only, or for suspicious ones too
- Anti-grief: a cap on moderator actions per timeframe, with automatic quarantine above it
Case managementA case holds more than a reason and a timestamp. Attach evidence, give it a title, correct it later and open the whole record in a private view when an appeal comes in.
- Up to ten proof images per case, shown as a gallery in the log message
- Attach proof while you act, including from the right-click Warn, Mute, Kick and Ban actions
- Once switched on, add proof afterwards with the Add proof button or /moderate add-proof, and the log message updates in place
- User reports and message reports take an image upload as well
- Once switched on, involved users can be linked to a case as reference only. They are never punished and never notified
- Involved users are available as the %involved% log placeholder, so you decide which logs show them
- Optional custom case titles, separate from the reason and required once you turn them on
- /moderate edit-reason rewrites a reason after the fact and records the change as a case event
- /moderate edit-duration shortens or extends an active temp mute, ban or quarantine, and the user is notified by DM
- /moderate actions is a private, filterable view of active and past cases with their stored evidence
Moderation logsEvery moderation log message type has its own editable template, built on the full embed editor. Keep the detailed log internal and send a separate, differently worded public log to a second channel, one action type at a time.
- Editable templates per log message type, using the full embed editor
- Put the link to your appeal form into every ban notice, or word each message the way your server talks
- A separate public log per action type: a heads-up on mutes alone, or a public ledger of every ban
- You get a warning if the same channel is picked for the internal and the public log
- A Lift punishment button reverses a mute, ban, quarantine or warning in one click, asking for a reason
- Lifting is opt-in and permission-gated, so only staff allowed to take that action can reverse it
- Bans, unbans, kicks and timeouts done with Discord's own tools can be recorded into the bot's database and log channel
- Optionally DM the affected user when a native Discord action is recorded. Opt-in, live actions only
- Anti-spam notifications have placeholders for detector type, count and threshold, and each detector can have its own message
Moderation levelsNot every moderator needs the same power. Create as many named moderation levels as you want and give each one exactly the capabilities it should have.
- Name your own levels instead of picking from four fixed tiers
- Grant capabilities one by one: warn, mute, kick, ban, lock, channel-mute, quarantine and clear messages
- Bypassing anti-spam, report immunity and lockdown control are capabilities too
- Give your trial mods warn and mute while holding back ban and lockdown
- Hand a dedicated anti-raid role nothing but lockdown control
- Existing Level 1-4 setups migrate automatically and keep working
Server loggingServer events go to your log channel, from message edits and role changes to voice movements and emoji updates.
- Channels: created, changed and deleted
- Roles: created, changed, deleted and assigned
- Members: nickname changes, new roles, joins and leaves
- Messages: edits and deletions, with their content
- Voice: joins, leaves and moves, and optionally server mutes and deafens
- Emojis: created, changed and deleted
- Bans and unbans, with reason and moderator
- Server settings
Ghost pings and ping protectionDeleted pings are caught, pings of protected roles and people are blocked, and moderation actions go to a channel you choose.
- Ghost ping detection: deleted mentions are caught and shown
- Ping protection: shields chosen roles and people from pings and mutes or kicks repeat offenders
- Moderation actions are logged to a channel of their own
- Each record carries the reason, the moderator and the time
- /moderate actions shows a member's history
Anti-Nuke ProtectionWatches for destructive changes to your server and responds by the rules you set.
- Detection: mass channel and role changes, bans, kicks, webhook abuse, permission escalation, emoji and sticker deletion, and other destructive server changes
- Response: once a threshold is reached, alert your team, strip the attacker's roles, remove dangerous permissions, or ban the attacker
- Guided undo: alerts carry a confirmed undo flow that tries to restore affected resources and reverse the automatic response, then reports what succeeded and what failed
- Operator controls: check the current status, temporarily whitelist trusted members with an expiry and reason, and configure thresholds per action type. Only users in Exempt Users can use the Anti-Nuke controls
Read this before you rely on it Anti-Nuke is a mitigation layer, not a backup or a guarantee. It only works while the bot is online, and some Discord actions cannot be fully reversed.
Setup guide and limitationsModeration commands, one by one
Everything lives under /moderate, plus /report for members. Warn, Mute, Kick and Ban are also in the right-click menu.
- /moderate warn
- Warn a member. Warnings are logged and count toward escalation.
- /moderate revoke-warn
- Remove a warning from a member's record.
- /moderate mute
- Mute a member for a set time.
- /moderate unmute
- Lift a mute.
- /moderate channel-mute
- Mute a member in one channel only.
- /moderate kick
- Kick a member. They can come back with an invite.
- /moderate ban
- Ban a member, permanently or for a set time, with a reason.
- /moderate unban
- Lift a ban so the member can rejoin.
- /moderate quarantine
- Quarantine a member: they stay on the server and lose access to most channels.
- /moderate clear
- Bulk-delete the most recent messages in a channel. The default is 50.
- /moderate lock / unlock
- Lock a channel so members cannot write in it, or open it again.
- /moderate lockdown
- Lock every channel of the server at once. Needs lockdown switched on.
- /moderate notes
- Read or add private moderator notes on a member.
- /moderate actions
- Open a private, filterable view of active and past cases, with case details and stored evidence.
- /moderate add-proof
- Attach proof images to an existing case, once proof is switched on. The log message updates in place and shows them as a gallery.
- /moderate edit-reason
- Rewrite a case's reason after the fact. The change is recorded as a case event.
- /moderate edit-duration
- Shorten or extend an active temporary mute, ban or quarantine. The user is notified by DM.
- /moderate involve
- Link additional users to a case as involved parties, once that is switched on. They are reference only and are never punished.
- /report
- Members report a person or a message to your moderation team.
Questions about moderation
Can I decide what happens when someone breaks a rule?
Yes. Every auto-moderation rule lets you choose the action: warn, mute, kick, quarantine or ban. Warnings can also escalate, for example to a mute after three and a ban after five.
Can each auto-mod rule have its own action?
Yes. Anti-spam, the invite filter, the bad-word filter and the other rules each have their own action. The spam detectors also have their own thresholds. Spam can lead to a mute while a filtered word only earns a warning.
Are temporary bans and mutes supported?
Yes. Bans and mutes can have a duration and end when it runs out.
Is there anti-raid protection?
Yes. Anti-join-raid detects sudden waves of new accounts and acts on them, and, once you switch on lockdown, /moderate lockdown shuts a raid down with one command. The Anti-Nuke Protection module covers the other kind of attack: it watches for mass channel and role changes, mass bans and kicks, webhook abuse and permission escalation, and responds once a threshold is reached.
How does verification work?
New members complete a step before they see the server. You choose between a visual captcha with adjustable difficulty, a simple math or word challenge, and manual approval by staff. It runs in the verification channel, so it works for members who have DMs disabled. With Join Gate you can also require a minimum account age or a profile picture before verification starts.
Can moderators have different permission levels?
Yes. You create as many named moderation levels as you want and give each one exactly the capabilities it needs, from warn and mute to ban and lockdown control. Existing Level 1-4 setups migrate automatically and keep working.
What happens if a moderator abuses their power?
Every action is logged with the moderator, the time and the reason, and /moderate actions shows the full list. Moderation levels limit what each moderator can do, and anti-grief quarantines an account that takes too many actions in a short time.
Can I import moderation history from another bot?
No. There is no import, so the history starts with the first action your bot records.
Which moderation commands does the bot have?
Everything lives under /moderate, plus /report for members. The main subcommands are /moderate warn, /moderate mute, /moderate kick, /moderate ban, /moderate quarantine, /moderate clear and /moderate lock, and /moderate actions shows the history. Warn, Mute, Kick and Ban are also in the right-click Apps menu once you turn them on on the Commands page. Moderation levels decide which command each moderator may use.
Does the bot block scam links?
Yes, once you pick an action for it. The bot checks links against a list of scam domains that SCNX maintains. Level of Scam-Link-Detection is either confirmed, which means only verified scam domains, or suspicious, which also includes suspicious domains and may catch harmless ones. Action on Scam-Link can be none, delete, warn, mute, kick, quarantine or ban. Delete removes the message without punishing the member.
Can members report rule breakers?
Yes. Any member can use /report with a reason and, if they like, a proof image. Report User and Report Message are also in the right-click menu once you turn on the context-menu commands. The report goes to the Report-Channel, or to the Log-Channel if you set no report channel. It holds the reason, the proof, the reported user and a link to a log of the channel's recent messages. Roles to ping on reports notifies your team.
Why can't the bot ban or mute someone?
Most likely the bot's role is too low. Discord only lets a bot kick, ban and edit nicknames for users whose highest role is lower than the bot's highest role. Our docs say the same for mutes, which are Discord timeouts. The bot also needs the Kick Members, Ban Members or Moderate Members permission, and the server owner can never be kicked or banned. To fix it, move the bot's role higher in Server Settings > Roles.
Set the rules once and sleep through the next raid.
Rules, thresholds and log channels are set up in the SCNX dashboard.