Skip to content

Spam filter

Five spam checks, each with a limit you set

SfwBot runs five separate spam checks instead of one combined score. You switch on the ones that match the trouble your server has and set the limit for each.

What it checks

  • Message rate

    Too many messages from one member within a few seconds.

  • Attachment rate

    Too many files within a time window, the usual shape of an image flood.

  • Line breaks

    Messages padded with empty lines to push the chat off the screen.

  • Capitals

    Messages written mostly in capital letters, above a minimum length so short replies are not caught.

  • Emojis

    Messages with more emojis than your limit.

What the bot does with spam

The message is deleted and logged. Each check can also time the member out for a length you choose. With the trust system switched on, every spam violation costs a small amount of trust, so one slip has no lasting effect and a pattern leads to a strike.

Roles you exempt are never checked. The spam filter reads message text and counts, and uses no credits.

How it fits with Discord AutoMod

Discord's own AutoMod can block mention spam and suspected spam before a message is posted. SfwBot can manage those rules for you. The spam filter covers what AutoMod does not measure: rate, attachments, line breaks, capitals and emojis.

Switching it on

All five checks are off until you enable them in the dashboard under Spam protection. Limits and their allowed ranges are listed in the settings reference, and the spam filter guide explains how to pick them.

Questions and answers

Does the spam filter punish a member for one fast message?

No. A check only triggers above its limit, and you set the limits. A timeout is optional for each check.

Are moderators checked?

Only if you want them to be. Give your staff an exempt role and their messages are skipped.

Does the spam filter use credits?

No. Only AI scans of media use credits.

Other modules

  1. Nudity detection

    SfwBot scans images, GIFs and videos posted in your Discord server and removes nudity at the level you choose: revealing, implied nudity or explicit.

  2. Invite filter

    SfwBot removes Discord invite links posted in your server. Allow your own invites and trusted codes, or let members post a few before the filter steps in.

  3. Link protection

    SfwBot checks links posted in your server against lists of known scam and pornographic sites, removes the message and records who posted it.

  4. AutoMod

    SfwBot creates Discord's native AutoMod rules for you and keeps them in sync: keywords, presets, regex, username and mention spam rules.

  5. Trust and strikes

    SfwBot gives every member a trust score. Violations cost trust by severity, trust comes back over time and strikes trigger the action you set.

  6. Logging

    SfwBot reports every removal to a log channel in your server, with buttons to act on it, and keeps an activity log in the web dashboard.

Add SfwBot to your server

The free plan includes credits every month. Setup takes one command, and you can change every setting later in the dashboard.