> For the complete documentation index, see [llms.txt](https://securitybot.gitbook.io/daxeon-knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://securitybot.gitbook.io/daxeon-knowledge-hub/bot-guide/chat-filters/discord-invite-filter.md).

# Discord Invite Filter

{% hint style="info" %}
**Available on all tiers** — Free tier: 10 filtered actions per day, 5 allowlist entries shared between invites and apps. Premium: unlimited. [Compare plans →](/daxeon-knowledge-hub/plans-and-pricing/plans-and-pricing.md)
{% endhint %}

Daxeon’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.

The same filter also blocks **app-authorization links**. Both are ways a message can pull your members somewhere you did not approve, so a single toggle covers them.

***

## App-Authorization Links

An app-authorization link is a `discord.com/oauth2/authorize` link. Opening one prompts a member to add a bot to a server they manage.

Scammers post these links because a member who accepts hands the attacker a bot with real permissions, often the ability to read messages, create invites, or manage roles. The link looks like an ordinary Discord URL, so it slips past people who have learned to be careful about invites.

When the invite filter is on, Daxeon deletes messages containing app-authorization links for any app that is not on your allowlist.

{% hint style="info" %}
Daxeon’s own authorization link is always allowed and never uses an allowlist slot, so members can always share how to add Daxeon.
{% endhint %}

***

## How to Manage Allowed Invites and Apps

### Add or remove an entry

Use the same pair of commands for both invites and app-authorization links. Daxeon detects which one you pasted.

```
/chat_filters invite add    invite: <invite or app-authorization link>
/chat_filters invite remove invite: <invite or app-authorization link>
```

Examples:

```
/chat_filters invite add invite: https://discord.gg/JWy9bSqpYJ
```

```
/chat_filters invite add invite: https://discord.com/oauth2/authorize?client_id=123456789012345678&scope=bot
```

For invites you can paste the full URL or just the code (`JWy9bSqpYJ`). For apps, paste the **full authorization URL** including the `client_id` parameter.

{% hint style="info" %}
Once an invite to a server has been allowed ALL invites to that server will now be allowed by Daxeon. Allowing an app works the same way: every authorization link for that application is allowed.
{% endhint %}

***

### View all allowed invites and apps

To see what is currently allowed:

```
/chat_filters invite view
```

Invites and apps appear together in one paginated list, each shown as **Invite** or **App** alongside its ID.

***

### Best Practices

* Only allow invites to servers you own, have officially partnered with or know is safe.
* Hold apps to an even higher bar. Allowlist an app only if you would be comfortable with your own staff installing it, and check what permissions its authorization link requests first.
* Routinely review your allowed invites and apps using `/chat_filters invite view`.
* Use [**Bypass Settings**](/daxeon-knowledge-hub/bot-guide/chat-filters/bypass-settings.md) to exempt a channel where invite links are allowed, such as a partners or promotions channel.
* Monitor flagged or blocked invite attempts through your Daxeon logs to stay ahead of misuse.

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

***

Next up: Learn how Daxeon looks inside shared X posts with [Social Analysis](/daxeon-knowledge-hub/bot-guide/chat-filters/social-analysis.md).
