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.