Skip to content

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.

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. Spam filter

    SfwBot's spam filter checks message rate, attachments, line breaks, capitals and emojis. Each check has its own limit and can time the member out.

  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.