# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.leap-blockchain.com/leap-trading-sol-bot/leap-trading-bot-setup/discord-auto-buyer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
