# Discord Invite Filter

{% hint style="info" %}
**Available on all tiers** — Free tier: 10 filtered actions per day, 5 allowlisted invites. Premium: unlimited. [Compare plans →](https://securitybot.gitbook.io/securitybot-knowledge-hub/plans-and-pricing/plans-and-pricing)
{% endhint %}

SecurityBot’s Invite Filter blocks messages that contain Discord invite links unless the invite has been explicitly approved. This stops users from self-promoting, redirecting members to scam servers, or spamming partner invites without permission.

***

## How to Manage Allowed Invites

### Add or remove a Discord invite

To allow a specific Discord invite, you must provide the **full invite URL**, not just the code.

```bash
/allow_invite [invite URL]
```

Example:

```bash
/allow_invite https://discord.gg/JWy9bSqpYJ 
```

* If the invite is **not already allowed**, it will be added to your allowlist.
* If the invite **is already allowed**, running the same command again will **remove it** from your allowlist.

{% hint style="info" %}
Once an invite to a server has been allowed ALL invites to that server will now be allowed by SecurityBot.
{% endhint %}

***

### View all allowed invites

To see which invites are currently allowed:

```
/chat_filters invite view
```

Select **“Allowed Invites”** from the list in the embed to view the full list of whitelisted Discord links.

***

### Best Practices

* Only allow invites to servers you own, have officially partnered with or know is safe.
* Routinely review your allowed invites using `/chat_filters invite view`.
* Combine this feature with a designated [**shill channel**](https://securitybot.gitbook.io/securitybot-knowledge-hub/bot-guide/chat-filters/bypass-settings) (using `/settings shill_channel`) to restrict where invite links are posted.
* Monitor flagged or blocked invite attempts through your SecurityBot logs to stay ahead of misuse.

{% hint style="info" %}
Only users with the Admin role or Discord’s Administrator permission can manage allowed invites.
{% endhint %}

***

Next up: Learn how to fine-tune exceptions with [Bypass Settings](https://securitybot.gitbook.io/securitybot-knowledge-hub/bot-guide/chat-filters/bypass-settings).
