# Advertising Detection

Block Discord invite links, promotional content, and unsolicited advertisements.

## What Gets Blocked

This module intercepts Discord server invites (discord.gg/*, discord.com/invite/*) and optionally detects promotional language patterns like "join my server", "free nitro", or referral spam.

## Whitelist System

You can whitelist specific invite codes so that partner servers or your own server invites are never blocked.

1

1. **Open Settings**: Navigate to Dashboard -> Auto Moderation -> Advertising.

2

2. **Enable Invite Blocking**: Toggle Discord invite link detection. All non-whitelisted invites will be actioned.

3

3. **Add Whitelisted Invites**: Paste the invite codes (e.g. exorion) that should be allowed through the filter.

4

4. **Enable Promo Detection**: Optionally enable pattern-based promotional language detection.

> Whitelisted invites are matched by invite code, not by server. Make sure to add each specific code you want to allow.