Free for all servers. One command or one button to activate. Auto-expires so you can’t accidentally leave it on.
How It Works
- A moderator activates lockdown via
/lockdown activateor the dashboard - All new joins are immediately blocked — kicked or banned on arrival
- Allowlisted members and Hashbot managers pass through unaffected
- Existing members are completely unaffected
- Lockdown automatically expires after the configured duration
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.
- A countdown timer
- The number of joins blocked so far
- A Deactivate button to end lockdown early
From Discord
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:Checking Status
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
Commands
Frequently Asked Questions
What happens if the bot restarts during a lockdown?
What happens if the bot restarts during a lockdown?
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.
Can I change the action or duration while a lockdown is active?
Can I change the action or duration while a lockdown is active?
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.
Does lockdown affect existing members?
Does lockdown affect existing members?
No. Lockdown only affects new joins. Existing members can continue using the server normally. Member updates (name changes, role changes) are also unaffected.
What's the difference between Anti-Raid Mode and Verification?
What's the difference between Anti-Raid Mode and Verification?
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.
How do I know the lockdown expired?
How do I know the lockdown expired?
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.