> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zynrax.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AntiBot Purge

> Automatically keep your channels clean by removing bot messages.

The **AntiBot Purge** system helps you maintain clean channels by automatically deleting messages sent by bots. You can configure specific channels for auto-purging and whitelist trusted bots to prevent their messages from being removed.

## Configuration

Manage which channels are monitored for bot messages.

### <Icon icon="plus" /> Add Channel

Add a channel to the auto-purge list. Zynrax will delete all bot messages sent in this channel (unless the bot is whitelisted).

<CodeGroup>
  ```bash Syntax theme={null}
  ,antibot add #channel
  ```
</CodeGroup>

### <Icon icon="minus" /> Remove Channel

Stop auto-purging bot messages in a specific channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,antibot remove #channel
  ```
</CodeGroup>

### <Icon icon="list-check" /> View Config

See all channels currently configured for auto-purge and the list of whitelisted bots.

<CodeGroup>
  ```bash Syntax theme={null}
  ,antibot config
  ```
</CodeGroup>

### <Icon icon="rotate-right" /> Reset Config

Clear all channels and whitelisted bots from the AntiBot configuration.

<CodeGroup>
  ```bash Syntax theme={null}
  ,antibot reset
  ```
</CodeGroup>

<br />

## Whitelisting Bots

Exempt specific bots from being auto-purged.

### <Icon icon="user-check" /> Whitelist Bot

Add a bot to the whitelist to prevent its messages from being deleted in auto-purge channels.

<CodeGroup>
  ```bash Syntax theme={null}
  ,antibot wl add @bot
  ```
</CodeGroup>

### <Icon icon="user-minus" /> Unwhitelist Bot

Remove a bot from the whitelist.

<CodeGroup>
  ```bash Syntax theme={null}
  ,antibot wl remove @bot
  ```
</CodeGroup>
