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