> For the complete documentation index, see [llms.txt](https://docs.esprezzo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.esprezzo.io/faq/discord-integration-guide.md).

# Discord integration guide

Looking to create a Discord bot that auto-posts important on-chain activity to your team or community servers? Whether you're wanting to automatically update a channel or get alerts for your eyes only, you're in the right place.

There are several ways you can start getting alerts in Discord:

1. Integrate your Discord account or server during Patch creation
2. Connect your Discord account or server in your account settings, then create a Patch

### Troubleshooting

Having trouble getting Dispatch to post messages in your Discord server or channel?

Discord can get a little confusing with permissions at both the server and channel level, we get it.

### Quick things to check:

1. Are you an admin of the server?
2. Do you have other security or verification tools that might be blocking bot messages?
3. Does the channel allow message posting?

### Setting Discord permissions

1. In your Discord **channel**, navigate to **Settings**
2. In Settings, choose **Permissions**
3. Scroll down to **Advanced Permissions**
4. Make sure that for whichever Roles/Members group you're assigning Dispatch bot to, the green checkmark is checked next to **Send Messages**
5. Make sure to click **Save Changes**!

<figure><img src="/files/8kIIc2hiCOR7HhRC5JfG" alt="Choosing the proper permissions so that Dispatch can send messages to your Discord channel"><figcaption></figcaption></figure>

Still having issues? Use the help widget in the lower right corner in Dispatch or shoot us a message in Discord. We're happy to help!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.esprezzo.io/faq/discord-integration-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
