Automatic protections
What defends the server without anyone having to step in: join waves, compromised staff, spam, scams and unwanted accounts.
/modtools securite shows all protections and their status. Enable them one by one, or all at once with "Set up everything in 2 min".In this guide
01The security center
/modtools securite gathers all protections on one screen, each with its status (active or not) and a button to open it. It's the starting point to check that a server is well protected. The dashboard shows the same summary.
02Anti-raid
/antiraid detects a wave of joins (by default 8 in 10 seconds). Raid mode then turns on for 10 minutes: the server's verification level goes to maximum then comes back on its own, and each new member gets the chosen sanction (quarantine, kick or ban).
- Minimum Discord account age, to turn away brand-new accounts.
/panicenables raid mode by hand,/config raidcleankicks or bans recently joined accounts./lockdownblocks writing in all channels at once and restores the exact previous state when lifted./config antiraidlogsshows the latest detections.
03Anti-nuke
/antinuke watches for dangerous actions by a compromised staff member or bot, each with its own threshold (3 to 5 actions in 60 seconds depending on the type):
- creation and deletion of channels and roles
- mass bans, kicks and unbans
- webhooks created, edited or deleted
- emojis and stickers deleted, AutoMod rules edited
- adding an unauthorized bot (the bot is kicked, whoever added it is sanctioned)
Without waiting for a threshold: a dangerous permission (Administrator, Ban Members, Manage Server, Manage Roles...) given to a role or to @everyone is removed immediately, and its author is sanctioned.
After an attack, a server backup recreates the deleted channels and roles.
04AutoMod
/automod applies filters to every message, each with its own sanction: delete, delete and warn, mute, kick or ban.
| Filter | Default |
|---|---|
| Scam links (fake Nitro, fake Steam) | Enabled, ban |
| Discord invites | Enabled, warning |
| @everyone and @here without permission | Enabled, deletion |
| Mass mentions | Active, mute above 5 mentions |
| Flood | Active, mute above 6 messages in 5 seconds |
| Repeated messages | Active, deletion at the 3rd identical message |
| Zalgo text | Enabled, deletion |
| Banned words, external links, caps, emojis, walls of text | Disabled, turn on as needed |
/wordfilter manages the banned word list, /modtools antilink links, /antifiltre the simple filters (invites, links, caps) and /antispam flooding.
05Banned servers
/modtools antiserveur lists up to 25 banned servers. A member who is also in one of them is banned, kicked or just reported when they join, with a custom direct message and a log. A scan applies the rule to members already present.
Detection: members the bot sees on the banned server, members who display its tag, and verification through the website: each new member logs in with Discord, their server list is read only once (nothing is kept), then they are sanctioned or get the verified role. A time limit can kick those who don't verify.
06Captcha on join
/captcha: a channel, a role given on success, and a challenge type.
| Type | How it works |
|---|---|
| Button | One click is enough, blocks the simplest bots |
| Calculation | A simple math problem to solve |
| Image | A 6-character code to copy |
| Emoji | Find the right emoji among several |
Three attempts, then a one-minute wait. Each challenge expires after 5 minutes.
Two roles to choose from, one is enough. The role given on success: it's up to you to restrict your channels to this role. The "to verify" role: the bot gives it to each new member, hides every channel from them except the captcha one, then removes it once the captcha is passed. You have no permissions to set.
The "to verify" role must be below AshBots' role. A channel created later is hidden automatically. If another of the member's roles explicitly allows a channel, Discord lets them keep access. /modtools antiserveur offers the same role in its Verification screen.
07Honeypot channel
/honeypot turns a channel into a trap: the bot posts a "Don't write anything here" warning in it with a counter of sanctioned accounts. Raid bots and spam accounts that post there anyway are sanctioned immediately, and the counter updates.
08Bypass
/bypass exempts a role or a member from all protections, or only some of them. The server owner is always exempt.
The anti-nuke bypass can only be given by the server owner: a compromised admin can't add it to themselves.
The AshBots team has no special access to your server: only Discord permissions count.
Commands in this guide
/modtools securite /antiraid /panic /config raidclean /lockdown /config antiraidlogs /antinuke /automod /wordfilter /modtools antilink /antifiltre /antispam /modtools antiserveur /captcha /honeypot /bypassSomething unclear? Tell us on the support server, and the guide will be fixed.