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

# 1. Create your Discord Bot

1. Go to [https://discord.com/developers](https://discord.com/developers/applications) and press "New Application".
2. Name the application and optionally upload an avatar for the bot.
3. Go to the **bot** tab, press the "add bot" button and confirm creating the bot.
4. While still in the **bot** tab, scroll down to **Privileged Gateway Intents** and enable the server members, presence and message content intents.
5. Click the **OAuth2** tab. Select the **bot** scope from the list, then select **administrator** from the permissions list. Finally, copy the invite link.
6. Paste the invite link from the previous step into a new tab to invite your bot. Select the server you want to add the bot to and click **authorise**.

{% hint style="warning" %}
Ensure that you disable **public bot** or anyone can add the bot to their server.
{% endhint %}

{% hint style="danger" %}
Ensure you enable all **privileged gateway intents** or the bot will not work.
{% endhint %}


---

# 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.zingyawesome.com/installation/1.-create-your-discord-bot.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.
