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 punishes 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 /settings autokick-spammer set-state state:enable to start auto-punishing flagged spammers on join.
2

(Optional) Set punishment level

Run /settings autokick-spammer punishment level:kick to choose the action. Options: flag (assign a role), kick, or ban.
3

(Optional) Enable silent mode

Run /settings autokick-spammer silent state:enable to stop spammer alerts from being posted to your log channel. The punishment itself still runs.
You can also toggle auto-kick, set the punishment level, and enable silent mode directly from the Dashboard Settings page.

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 takes the configured action
  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.

Punishment levels

Silent mode

By default, Hashbot posts an alert embed to your log channel whenever a spammer is punished (if no log channel is set, the server owner gets a DM instead). If your server handles a high volume of flagged accounts, enable silent mode to suppress these alerts entirely — the configured punishment still runs.

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.
This command requires the Manager role. The bot also needs the permission matching your configured punishment level: Manage Roles for flag, Kick Members for kick, or Ban Members for ban.

Scan process

  1. Hashbot fetches your full member list and checks each account’s Discord flags
  2. When the scan completes, it shows a summary of all flagged members found
  3. You confirm or cancel the bulk action via buttons on the result message
On very large servers, fetching the member list can occasionally time out on Discord’s side. If that happens, Hashbot will ask you to try again in a few minutes — just re-run /scan-spammers.

Confirmation flow

After the scan completes, Hashbot shows:
  • Total number of flagged spammers found
  • A preview list of flagged accounts (up to 15)
  • A confirm button matching your punishment level (Flag All, Kick All, or Ban All) and a Cancel button
The scan applies your configured punishment level — it doesn’t always kick. After confirming, Hashbot works through the list and posts a final summary with the number of members actioned and any failures.

Commands

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, manager roles, and their members are all respected. Members on your allowlist or with a manager role will not be punished even if they carry a spammer flag.