Documentation › Protection & arrivals › Anti-raid

Anti-raid

A raid almost always uses brand-new accounts created in bulk. Anti-raid keeps them out on arrival, or warns your team.

#Open it

Open All settings, Quick settings section, then Anti-raid. This setting is reserved for server administrators.

Anti-raid has two independent protections: new accounts and mass joins.

#New accounts

Tick "Block accounts that are too new", then set:

SettingWhat you choose
Minimum account ageIn hours, from 1 hour to 1 year. 72 hours (3 days) by default.
ActionKick automatically or Let them join + alert staff.
Alert channelOnly with the alert: the channel where the bot warns the team. Without a channel, the join is only noted in the logs.
  • Kick: the account gets a private message explaining why (if their DMs are open), then is kicked.
  • Alert: the account joins normally, and your team decides.

#Mass joins

If many members join in a very short time, the server switches to raid mode for a few minutes. Tick "Detect mass joins", then set:

  • the number of joins and the time window (10 joins in 30 seconds by default);
  • the raid mode duration (10 minutes by default);
  • raise Discord verification to the maximum during the raid (verified phone required), then put it back as it was;
  • kick accounts that joined during the raid: they get a DM and can come back later;
  • the team's alert channel.

During raid mode, the team is warned with the list of the latest joiners. Raid mode stops on its own at the end of the chosen duration.

Warning

To raise Discord verification, the bot needs the "Manage Server" permission. To kick, it needs "Kick Members". See Permissions.

#The /raid command

CommandEffect
/raid statutIs raid mode active? Also shows the automatic detection setting.
/raid debutStarts raid mode right now, manually.
/raid finEnds raid mode before its scheduled end.

Reserved for members with "Manage Server".

#Follow what happened

Every kicked or flagged account and every start or end of raid mode appears in the logs, under the "Auto-moderation and anti-raid" category.

A question that isn't covered here? Ask on the support server.