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
Open the Dashboard
Go to dashboard.hashbot.com and select your server.
Choose Action and Duration
Select whether to Kick (members can rejoin later) or Ban (permanent) new joins, and how long the lockdown should last.
- 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.| Setting | Default | Range | Description |
|---|---|---|---|
| Join threshold | 20 | 3 – 100 | Number of joins that triggers lockdown |
| Time window | 10 seconds | 5s – 5 minutes | How fast the joins must happen |
| Lockdown duration | 1 hour | 1 min – 24 hours | How long the auto-triggered lockdown lasts |
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
| Setting | Default | Range | Description |
|---|---|---|---|
| Action | Kick | Kick or Ban | What happens to members who join during lockdown |
| Duration | 1 hour | 1 min – 24 hours | How long the lockdown lasts before auto-expiring |
/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
| Command | Description |
|---|---|
/lockdown activate | Activate lockdown with server defaults |
/lockdown activate action:Kick | Activate with kick action |
/lockdown activate action:Ban duration:30 | Activate with ban action for 30 minutes |
/lockdown deactivate | End the active lockdown early |
/lockdown status | View current lockdown status |
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.
Is Anti-Raid Mode a premium feature?
Is Anti-Raid Mode a premium feature?
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.