Anti-raid and new accounts

The bot notices when many new accounts join in a short time, punishes them, pauses invites and alerts staff.

How it works

A raid is a number of joins within a number of seconds, for example 10 joins in 10 seconds. By default only accounts younger than 7 days count, so a big event with real members does not look like a raid.

When the bot detects a raid:

  • Those who set off the raid, and every counted account that joins while it lasts, get the chosen Action: timeout, kick or ban.
  • With Pause invites nobody can join through invites while the raid lasts. It is Discord's own feature.
  • With Pause DMs members cannot send each other DMs through the server while the raid lasts.
  • The bot posts an alert in the Alert channel and optionally pings a role.

The raid ends by itself after Raid mode lasts, and then the pauses are lifted. Staff with Manage Server can end it early with End raid in the alert or under Latest raids in the dashboard.

Set it up

  1. 1Open Security in the menu under Server management and turn Anti-raid on.
  2. 2Pick Joins and Within seconds.
  3. 3Pick Only count accounts younger than. 0 means every account counts.
  4. 4Pick the Action and whether invites and DMs are paused.
  5. 5Pick Raid mode lasts, Alert channel and optionally Role to ping.
  6. 6Click Save.
⚠️ The bot needs Manage Server to pause invites and DMs, and permission to time out, kick or ban to punish. Its own role must be above the new members' roles.
💡 With ban, the bot also deletes the member's messages from the last hour.

New account filter

With the New account filter, accounts younger than the chosen number of days get a timeout, kick or ban as soon as they join, also without a raid. It is off by default.

Still stuck? Ask on our Discord server or write to support@rimfrost.dk