Invite filter
Stop invite spam without blocking your own links
Invite links to other servers are the most common form of advertising on Discord. SfwBot removes them as they are posted and leaves the invites you want alone.
Two ways to filter
Zero tolerance
Every invite link that is not allowed is removed. This is the default once you switch the filter on.
Rate based
Members may post a number of invites within a time window. Only what goes beyond the limit is removed, which suits servers where sharing communities is normal.
What stays allowed
Invites to your own server
Links that lead back to the server they are posted in are allowed by default.
Allowed invite codes
Add the codes of partner servers and those links pass.
Exempt roles
Moderators or partners with an exempt role can post any invite.
What the bot does with a blocked invite
The message is deleted and the removal is written to your log channel. You can add a timeout for the member, and if you use the trust system the violation costs trust, so repeated advertising leads to a strike.
The filter recognises the usual invite addresses and common ways of disguising them with look-alike characters. It runs on message text and uses no credits.
Switching it on
The invite filter is off until you enable it, in the dashboard under Spam protection or with the /settings command. The invite filter guide walks through each option.
Questions and answers
Will it delete invites to my own server?
No, not by default. Invites that lead to the server they are posted in are allowed unless you switch that off.
Can members still share invites in direct messages?
Yes. SfwBot only sees messages in your server's channels.
Does the invite filter use credits?
No. Only AI scans of media use credits.