Protection
Anti-Raid
Spots raids in the joins and closes the server until they end.
Open it from /settings → Protection → Anti-Raid.
What counts as a raid
- 8+ joins in a minute that are mostly new or avatar-less accounts. The number is 5, 8 or 15 depending on Sensitivity, plus one per 2,000 members.
- Three times that many joins of any kind.
- 4+ accounts sharing a name pattern or avatar.
- Discord's own raid flag, when Follow Discord is on.
- A moderator running
/raid start.
New Account Age sets what counts as a new account.
Raid mode
While a raid is on, Guard:
- pauses invites with Discord's incident actions (Pause Invites)
- handles Joiners: kicks them with a DM by default, or bans them, times them out, makes them verify, or does nothing. Anyone who joins twice is banned
- optionally pauses DMs and locks channels
- alerts moderators (pinging Roles to Ping) with End Raid, Ban Raiders, Kick Raiders and Lock Channels buttons
Ending
A raid ends 10 minutes after the last raid-level join, and lasts 30 minutes at least (Longest Raid caps it). Guard only undoes what it changed. Raid mode survives restarts: it's ended by a scheduled job.
While the server is flooded, join and leave logs become one summary a minute, and mass kicks or bans don't create a case per account. Raid mode's buttons act only on the raid's joiners and don't count toward a moderator's hourly limit.