> For the complete documentation index, see [llms.txt](https://docs.leap-blockchain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.leap-blockchain.com/leap-telegram-bot/leap-telegram-setup/discord-scraper.md).

# Discord Scraper

### Prerequisites

1. Have a funded wallet connected in Leap.
2. Know the **Server/Channel IDs** (and any **User IDs**) you want to track.
   * Enable Discord *Developer Mode* → Right‑click → **Copy ID**.

***

### Step 1 — Open the Discord Scraper task

From the bot’s main menu choose **Discord Scraper** → you’ll see the task dashboard with:

* **Account Settings, Fees, Buy Amount, Discord Scraper Filters, Market Filters, Exit Strategy, Start Task, Stop Task**
* **Status** (Enabled/Disabled) and **Last updated** timestamp

***

### Step 2 — Account Settings (Discord Token)

This is where you connect the bot to your Discord account.

**Discord Token**

* Tap **Discord Token** → paste your **Discord user token** when prompted.
* When saved, you’ll see **Discord Token ✅** and a **Last updated** timestamp.

> Security: Never post your token publicly. If you think it’s exposed, change your password to regenerate it and re‑add here.

**What this enables**

* Lets the bot read the channels/users you specify in the **Discord Scraper Filters** menu.
* You can remove/replace the token at any time from the same screen.

### Step 3 — Buy Amount

Choose sizing for each executed buy.

* **Buy Amount (SOL)**: Fixed SOL per entry (e.g., `0.05`).

***

### Step 4 — Discord Scraper Filters (servers/channels/users + keywords)

This menu is where you attach the Discord sources the bot listens to and set message filters.

**Source controls**

* **➕ Discord Servers**: Add one or more **Server IDs** to monitor.
* **➕ Discord Channels**: Add **Channel IDs** within those servers.
* **➕ Discord Users**: (Whitelist) Only react to messages from these **User IDs**.
* **➕ Blacklist User**: Always ignore messages from these users.
* **🗑 Delete Channel / Delete Topic / Delete User / Delete Blacklist User**: Remove items from your lists.
* **👉 Clear All Filters**: Reset everything in this menu.
* **🟨 Listen To Own Messages (toggle)**: Allow your own Discord posts to trigger buys (useful for testing).

### Troubleshooting

* **No buys are firing**: Double‑check Channel IDs, whitelist terms, and market filter thresholds (you may be filtering too tightly).
* **Wrong channel**: Ensure the Channel ID belongs to a server you added.
* **Too many buys**: Add blacklist terms (e.g., `giveaway`, `airdrop`) and raise **Min Liquidity/Volume**.
* **Slow fills**: Increase **Priority Fee** and/or **Buy Slippage**.
* **Permission issues**: Make sure your Discord account can read the target channels.
