> 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-trading-sol-bot/leap-trading-bot-setup/discord-auto-buyer.md).

# Discord Auto Buyer

<figure><img src="/files/jLDRvYJLSKuc2eXkL10l" alt=""><figcaption></figcaption></figure>

### Accounts & Sources

* **Discord Token**: Select your account from the drop‑down. You must set up these accounts in the **Accounts** tab.
* **Server IDs**: Add as many servers from the drop‑down menu as you would like to copy in this task.
* **Channel IDs**: Add as many channel IDs as you would like to copy in this task. These must be channels from the servers you inserted above.
* **User IDs**: Use this if you only want to buy coins from a specific user or users on Discord.
  * To find a User ID, enable **Discord Developer Mode**, then right‑click the user and copy their ID.
* **User ID Blacklist**: Add users you want the bot to ignore.

<figure><img src="/files/KVIhsr7wRnuIkUqGl9up" alt=""><figcaption></figcaption></figure>

### Message Content Filters

Use keyword filters to control which Discord messages can trigger a buy. This helps you avoid spam or force buys only when a post includes specific signal terms.

**Message Content blacklist**

* Add words or phrases you want to **block**.
* If a message contains **any** blacklist item, the task will **skip** it.
* Add multiple entries by clicking **Add blacklist word**.

**Message Content whitelist**

* Add words or phrases a message **must include** for the task to buy.
* If the whitelist is **empty**, all messages are allowed (unless blocked by the blacklist).
* Add multiple entries by clicking **Add whitelist word**.

**Task Name**: Enter the name for this task.

<figure><img src="/files/uRVViUU41BR7tiKm6q6e" alt=""><figcaption></figcaption></figure>

**Wallet**: Select the wallet you want to use for this task.

### Platforms & Sell Behaviour

* **Buy Raydium**: Allow trades on Raydium.
* **Buy Pumpfun**: Allow trades on Pump.fun and Pump Swap.
* **Buy Meteora**: Allow trades on Meteora.
* **Use Filtred API:** If you have their API added in settings you will be able to add it here
* **Buy Tokens From Myself**: Allow the task to react to your own messages (handy for testing signals).
* **Don't Sell**: Do not sell the token. Your sell logic will not run while this is enabled.
* **Buy Once**: Only buy the first time the source posts a token; ignore subsequent mentions

### **Transaction Details**

**Buy Amount (SOL)**: Fixed SOL you want to spend on each buy.

**Buy Wallet %**: Spend a percentage of your current wallet balance per buy (useful when your balance changes). Use this instead of a fixed **Buy Amount** if you prefer sizing by percentage.
