Skip to main content
Anti-Raid Mode is an emergency lockdown for your server. When activated, every new member who tries to join is immediately kicked or banned — stopping raid attacks in seconds instead of minutes.
Free for all servers. One command or one button to activate. Auto-expires so you can’t accidentally leave it on.

How It Works

  1. A moderator activates lockdown via /lockdown activate or the dashboard
  2. All new joins are immediately blocked — kicked or banned on arrival
  3. Allowlisted members and Hashbot managers pass through unaffected
  4. Existing members are completely unaffected
  5. Lockdown automatically expires after the configured duration
Actions are logged to your server’s log channel with the lockdown start/end times and the number of joins blocked.
This is a high-impact action. The /lockdown activate command requires a confirmation button click, and the dashboard requires you to type LOCKDOWN to confirm. This prevents accidental activation.

Activating Lockdown

From the Dashboard

1

Open the Dashboard

Go to dashboard.hashbot.com and select your server.
2

Navigate to Anti-Raid

Click Anti-Raid in the sidebar under Hashbot.
3

Choose Action and Duration

Select whether to Kick (members can rejoin later) or Ban (permanent) new joins, and how long the lockdown should last.
4

Activate

Click Activate Lockdown. A confirmation modal will appear — type LOCKDOWN (case-insensitive) to confirm. The lockdown takes effect immediately.
While active, the dashboard shows a live status card with:
  • A countdown timer
  • The number of joins blocked so far
  • A Deactivate button to end lockdown early

From Discord

The bot will display a warning embed summarizing what will happen, with Activate Lockdown and Cancel buttons. Click Activate Lockdown to confirm. You can also specify the action and duration:
The action and duration parameters are optional. If omitted, Hashbot uses your server’s configured defaults (Kick + 1 hour by default). You can change these defaults on the dashboard.

Deactivating Lockdown

Lockdowns automatically expire after the configured duration. To end one early: From the dashboard: Click the Deactivate Lockdown button on the Anti-Raid page. From Discord:
When a lockdown ends (manually or by expiry), a summary is posted to your log channel showing how many joins were blocked and how long the lockdown lasted.

Checking Status

Shows whether a lockdown is active, the action being taken, time remaining, joins blocked, and who activated it. Visible only to the person who runs the command.

Auto-Trigger

Hashbot can automatically activate lockdown when it detects a join rate spike — no moderator action needed. Configure it on the Anti-Raid page in the dashboard under Auto-Trigger.
Auto-triggered lockdowns use the default action (Kick or Ban) from your Default Settings. They appear in your log channel with source “AUTO_TRIGGER” so you can distinguish them from manual activations.

Configuration Options

These defaults are used when you run /lockdown activate without specifying parameters. Change them on the Anti-Raid page in the dashboard under Default Settings.

Who Is Exempt

Even during an active lockdown, these members can still join your server normally:
  • Members on the Allowlist (users or roles)
  • Hashbot Managers (server owners, admins, and users with manager roles)
  • Bots added via OAuth
Everyone else is kicked or banned immediately on join.

Commands

Frequently Asked Questions

The lockdown persists across bot restarts. Active lockdowns are stored in the database and automatically restored when the bot comes back online. Any lockdowns that expired during downtime are cleaned up automatically.
No. You need to deactivate the current lockdown first, then activate a new one with different settings. This is intentional — changing a mass action mid-lockdown could cause confusion.
No. Lockdown only affects new joins. Existing members can continue using the server normally. Member updates (name changes, role changes) are also unaffected.
No. Anti-Raid Mode is free for all servers. Emergency raid protection shouldn’t be gated behind a subscription.
Anti-Raid Mode is a blunt emergency tool — it blocks all new joins entirely. Use it when a raid is actively happening and you need to stop the bleeding immediately.Verification is a persistent gate — new members must pass a CAPTCHA before accessing channels. Use it as an always-on first line of defense.They work well together: Verification as your daily protection, Anti-Raid Mode as your panic button.
Hashbot posts a summary to your log channel when a lockdown ends, whether by expiry or manual deactivation. The summary includes the total joins blocked and the lockdown duration.