Skip to main content
Hashbot can automatically detect users that Discord has flagged as spammers and take action before they can cause harm. This works in two ways: auto-kick on join and bulk member scanning.

Auto-Kick Spammers

When enabled, Hashbot automatically kicks any new member whose account has been flagged as a spammer by Discord. This runs silently in the background with zero configuration beyond a single toggle.
1

Enable auto-kick

Run /autokick-spammer enabled:True to start auto-kicking flagged spammers on join.
2

(Optional) Enable silent mode

Run /autokick-spammer-silent enabled:True to suppress the moderator role ping when a spammer is kicked. The action is still logged.

How it works

  1. A new member joins your server
  2. Hashbot checks their Discord account flags
  3. If the account is flagged as a spammer by Discord, Hashbot kicks them immediately
  4. The action is logged to your configured log channel with full details
Auto-kick is enabled by default for all servers. You only need to run the command if you previously disabled it or want to confirm the setting.

Silent mode

By default, Hashbot pings your moderator role when a spammer is kicked. If your server handles a high volume of flagged accounts, enable silent mode to suppress the ping while still logging every action.

Scan Spammers

The /scan-spammers command lets you scan your entire existing member list for accounts that Discord has flagged as spammers. This is useful for cleaning up servers that may have accumulated flagged accounts before Hashbot was installed or before auto-kick was enabled.
/scan-spammers
This command requires Administrator permission. The bot must also have Kick Members permission.

Scan process

  1. Hashbot iterates through all server members and checks their Discord flags
  2. Progress updates appear every few seconds so you can track the scan
  3. When complete, Hashbot shows a summary of all flagged members found
  4. You confirm or cancel the bulk kick via buttons on the result message

Large server support

For servers with 400,000+ members, the scan automatically splits into phases to avoid timeouts:
  • Each phase scans for up to 12 minutes before saving progress
  • Run /scan-spammers again to resume from where the previous phase left off
  • Partial scan state is preserved for 24 hours
For most servers (under 400K members), the scan completes in a single pass. You only need to worry about phases if you’re running a very large community.

Confirmation flow

After the scan completes, Hashbot shows:
  • Total number of flagged spammers found
  • A preview list of flagged accounts (up to 15)
  • Confirm and Cancel buttons
Clicking Confirm initiates a bulk kick with progress updates. Each kicked member is individually logged to your log channel. A final summary shows the total kicked, any failures, and members who left before the kick.

Commands

CommandDescription
/autokick-spammer <enabled>Enable or disable automatic kicking of Discord-flagged spammers on join
/autokick-spammer-silent <enabled>Suppress moderator role ping on auto-kick (actions are still logged)
/scan-spammersScan all current members for Discord-flagged spammers and kick matches

FAQ

Discord maintains an internal system that flags accounts exhibiting spam behavior across the platform. This is a platform-level flag set by Discord itself, not by Hashbot. When an account carries this flag, it means Discord has identified the account as likely being used for spam.
Discord’s spammer flag has a very low false positive rate since it reflects platform-wide enforcement. However, if a legitimate user is incorrectly flagged, they would need to appeal directly to Discord. You can allowlist specific users if needed.
No. Spam detection works alongside your existing filters. Name filters catch impersonation based on usernames, PFP protection catches avatar copying, and spam detection catches accounts flagged at the platform level. Use all three for comprehensive protection.
Allowlisted users and roles are respected. Members on your allowlist will not be kicked even if they carry a spammer flag.