> For the complete documentation index, see [llms.txt](https://tg-token-gates.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tg-token-gates.gitbook.io/docs/settings/manage-purge.md).

# Manage Purge

From the main Settings panel, tap \*\*Manage Purge\*\* to open the purge control screen. Here you can turn automatic purge on or off, set purge notifications, customize purge GIFs, and run a manual purge.

### Manage Purge <a href="#opening-manage-purge" id="opening-manage-purge"></a>

You’ll see the current **Purge Settings** (Auto-Purge on/off), **Notification Settings**, and **Purge GIFs**, plus buttons for the actions below.

<figure><img src="https://4091296668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgpdBpq3fWRRplh4OcmGe%2Fuploads%2FYWmrHbELze6Opkv9rIwZ%2Fimage.png?alt=media&amp;token=c2a257e0-69f0-4433-80d8-ec1ceb7ebc5d" alt=""><figcaption></figcaption></figure>

***

### Purge Settings <a href="#enable-or-disable-auto-purge" id="enable-or-disable-auto-purge"></a>

The **automatic purge** runs daily: it checks every member against your gates and removes anyone who no longer meets them (unless whitelisted).

* **🟢 Enable Auto-Purge** — Turn the daily purge **on** (default). Use this to keep the chat gated automatically.
* **🔴 Disable Auto-Purge** — Turn the daily purge **off**. No one is automatically removed for failing the gate. Use this to pause purges (e.g. while you change gates or run a manual check instead).

Tap the button that matches the state you want. The panel updates to show the new status.

<figure><img src="https://4091296668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgpdBpq3fWRRplh4OcmGe%2Fuploads%2Fz1cRbUXzWdA2pe9xG4BC%2Fimage.png?alt=media&amp;token=7ea0f77c-2507-4191-8266-aed30a8338df" alt=""><figcaption></figcaption></figure>

***

### Manage Purge Notifications <a href="#manage-purge-notifications" id="manage-purge-notifications"></a>

Control who gets notified when a purge runs (DMs to admins, message in chat, your own DMs).

1. On the Manage Purge screen, tap **🔔 Manage Purge Notifications**.<br>

   <div align="left"><figure><img src="https://4091296668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgpdBpq3fWRRplh4OcmGe%2Fuploads%2FFVweSR4nmgefUXSLFugO%2Fimage.png?alt=media&amp;token=a2b3eae1-64e8-4dd5-9f25-ab71763f5fa7" alt=""><figcaption></figcaption></figure></div>
2. You’ll see options such as:
   * **Share with admins** — Detailed purge report sent to admins by DM (on/off).
   * **Share with chat** — A purge summary message sent in the group/channel (on/off).
   * **Your notifications** — Whether you personally get purge-related DMs (on/off).
3. Tap the option you want to change. The bot confirms and you can go back with **← Back to Manage Purge**.

<div align="left"><figure><img src="https://4091296668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgpdBpq3fWRRplh4OcmGe%2Fuploads%2FZqeOrlqYByR7YlRe3e60%2Fimage.png?alt=media&amp;token=b567d1b4-bb7e-4fba-8a01-c7adc871d88d" alt="" width="563"><figcaption></figcaption></figure></div>

***

### Manage Purge GIFs <a href="#manage-purge-gifs" id="manage-purge-gifs"></a>

You can set custom GIFs for purge-related messages (e.g. when someone is purged, or when everyone passes “diamond hands”).

1. On the Manage Purge screen, tap **📁 Manage Purge GIFs**.<br>

   <div align="left"><figure><img src="https://4091296668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgpdBpq3fWRRplh4OcmGe%2Fuploads%2FYIoYrCbNDisWoKT1mdBk%2Fimage.png?alt=media&amp;token=8910274e-b4af-4d96-b8e2-d77b71023674" alt=""><figcaption></figcaption></figure></div>
2. Choose which GIF to set:
   * **Set Purged GIF** — Shown when users are removed for not meeting the gate.
   * **Set Diamond Hands GIF** — Shown when no one was purged (everyone still meets the gate).
   * **Set Supply Control GIF** — Used for supply-control related messages, if applicable.
3. Tap **Set …** for the one you want, then send an **animated GIF** in the chat. The bot confirms and uses it from then on.
4. Use **View …** to see the current GIF for that type. Use **← Back to Manage Purge** to return.

If you don’t set a custom GIF, the default is used.

<figure><img src="https://4091296668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgpdBpq3fWRRplh4OcmGe%2Fuploads%2F1tLBfvkVpChqoXwjHIrV%2Fimage.png?alt=media&amp;token=d982af4f-fcc4-4605-8112-24ea04c19305" alt=""><figcaption></figcaption></figure>

***

### Manually Purge Now <a href="#manually-purge-now-force-purge" id="manually-purge-now-force-purge"></a>

Run a purge **immediately** instead of waiting for the daily run. The same logic applies: validate everyone against your gates and remove those who no longer qualify (whitelisted users are never removed).&#x20;

Manual purge works even if **Auto-Purge** is disabled. It does not change the Auto-Purge setting.

1. On the Manage Purge screen, tap **🚀 Manually Purge Now**.<br>

   <div align="left"><figure><img src="https://4091296668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgpdBpq3fWRRplh4OcmGe%2Fuploads%2FQqkYvb35AmyILnJ4CM63%2Fimage.png?alt=media&amp;token=67fc57ba-a68a-46b3-8a0e-bbd1d9728cb7" alt=""><figcaption></figcaption></figure></div>
2. The bot confirms that the purge has been queued and will run shortly.\
   ![](https://4091296668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgpdBpq3fWRRplh4OcmGe%2Fuploads%2F82fpG1vurjcNjTO2SFW2%2Fimage.png?alt=media\&token=0d7ddc8b-aeab-4a78-8062-00a02dd73ef9)\
   \
   **Cooldown:** You can only trigger a manual purge once per day.&#x20;
3. After it runs, you’ll get notifications according to your **Manage Purge Notifications** settings.

<div align="left"><figure><img src="https://4091296668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgpdBpq3fWRRplh4OcmGe%2Fuploads%2FJ1Bup8HumrzBAZF11YHz%2Fimage.png?alt=media&amp;token=518ac174-5b07-494f-b42f-d1463e9a748a" alt=""><figcaption></figcaption></figure></div>

***

#### Back to Settings <a href="#back-to-settings" id="back-to-settings"></a>

Tap **← Back to Settings** to return to the main Settings panel.

***

#### Quick reference <a href="#quick-reference" id="quick-reference"></a>

| Goal                              | Action                                                                     |
| --------------------------------- | -------------------------------------------------------------------------- |
| Turn daily purge on               | **🟢 Enable Auto-Purge**                                                   |
| Turn daily purge off              | **🔴 Disable Auto-Purge**                                                  |
| Change who gets purge reports     | **🔔 Manage Purge Notifications**                                          |
| Set custom GIF for purge messages | **📁 Manage Purge GIFs** → Set Purged / Diamond Hands / Supply Control GIF |
| Run a purge right now             | **🚀 Manually Purge Now** (then wait for cooldown to run again)            |

Next: The Purge for how the purge works, or Payment Info (owner + payment gates only).
