Free for all servers. Disabled by default — enable it from the dashboard or Discord commands.
How It Works
- A member joins your server and enters the prune queue
- If they receive a real role (not a bypass role), they’re cleared from the queue
- If the timeout expires with no real role, they’re automatically kicked
Auto Prune works alongside Verification. If you use both, members must pass the verification challenge and acquire a role within the timeout. This provides two layers of protection against bot accounts.
Setting Up Auto Prune
From the Dashboard
Open the Dashboard
Go to dashboard.hashbot.com and select your server.
Set Timeout
Choose how long new members have to acquire a role. Default is 4 hours. Range: 10 minutes to 24 hours.
From Discord
Configuration Options
| Setting | Default | Range | Description |
|---|---|---|---|
| Enabled | Off | — | Toggle auto-prune on or off |
| Timeout | 4 hours | 10 min – 24 hours | How long before roleless members are kicked |
| Bypass Roles | None | — | Roles that don’t count as “having a role” |
Bypass Roles
By default, any role assignment clears a member from the prune queue. Bypass roles let you exclude specific roles from this check. When to use bypass roles:- Your server auto-assigns a role on join (e.g., via a welcome bot)
- You have a “New Member” or “Unverified” role that doesn’t indicate real engagement
- You use reaction roles where the initial role is cosmetic
Managing Bypass Roles
From the dashboard, use the Add bypass role dropdown on the Auto Prune page. From Discord:Commands
| Command | Description |
|---|---|
/settings auto-prune set-state state:enable | Enable auto-prune |
/settings auto-prune set-state state:disable | Disable auto-prune and clear the queue |
/settings auto-prune timeout minutes: | Set the kick timeout (10–1440 minutes) |
/settings auto-prune bypass-role action:add role: | Add a bypass role |
/settings auto-prune bypass-role action:remove role: | Remove a bypass role |
/settings auto-prune bypass-role action:list | List all bypass roles |
/settings auto-prune status | View current config and pending count |
Frequently Asked Questions
What happens to members already in the server when I enable auto-prune?
What happens to members already in the server when I enable auto-prune?
Only members who join after you enable auto-prune are tracked. Existing members are not affected.
Does disabling auto-prune clear the queue?
Does disabling auto-prune clear the queue?
Yes. Disabling auto-prune immediately clears all pending members from the queue. No one will be kicked.
What if the bot restarts?
What if the bot restarts?
The prune queue is stored in the database, so it survives bot restarts. Members won’t slip through.
Can I use auto-prune with Verification?
Can I use auto-prune with Verification?
Yes. They complement each other. Verification blocks automated bots at join time, while auto-prune catches accounts that pass verification but never engage further.
Does the kicked member see a reason?
Does the kicked member see a reason?
Discord shows “Auto Prune: no role acquired within [timeout]” as the kick reason, which is visible in the member’s audit log.