Nouveau-25% on Premium with the code NOEL25, until December 31
Documentation Security and moderation

Automatic protections

What defends the server without anyone having to step in: join waves, compromised staff, spam, scams and unwanted accounts.

4 min read 8 sections 16 commandes

In short
/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
  1. The security center
  2. Anti-raid
  3. Anti-nuke
  4. AutoMod
  5. Banned servers
  6. Captcha on join
  7. Honeypot channel
  8. Bypass

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.
  • /panic enables raid mode by hand, /config raidclean kicks or bans recently joined accounts.
  • /lockdown blocks writing in all channels at once and restores the exact previous state when lifted.
  • /config antiraidlogs shows 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.

FilterDefault
Scam links (fake Nitro, fake Steam)Enabled, ban
Discord invitesEnabled, warning
@everyone and @here without permissionEnabled, deletion
Mass mentionsActive, mute above 5 mentions
FloodActive, mute above 6 messages in 5 seconds
Repeated messagesActive, deletion at the 3rd identical message
Zalgo textEnabled, deletion
Banned words, external links, caps, emojis, walls of textDisabled, 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.

TypeHow it works
ButtonOne click is enough, blocks the simplest bots
CalculationA simple math problem to solve
ImageA 6-character code to copy
EmojiFind 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

Options and permissions for each command

Something unclear? Tell us on the support server, and the guide will be fixed.