# Setup

## Preparation

### Create a bot

#### **Step 1: Open website**

Go to the following website: [Developers Application](https://discord.com/developers/applications)

#### **Step 2: Create**

Click on ***New Application*** at the top right

<figure><img src="/files/D2eivPPLxU0Y2KnQy4DZ" alt=""><figcaption><p>Erstelle eine neue Application</p></figcaption></figure>

#### Step 3: Assign names

Enter a name for the bot, accept the `Terms of Service` and the `Developer Policy`

<figure><img src="/files/jR5xskrlN6s9OAnIfCfY" alt=""><figcaption><p>Assigning a name to the application</p></figcaption></figure>

#### **Step 4: Token reset**

Reset token to display it.

{% hint style="danger" %}
Do not share your token, if you do, the person/people can start your bot and do bad things with it.
{% endhint %}

<figure><img src="/files/1djXEkoJOXKM1rjQ4KX8" alt=""><figcaption><p>Token Reset</p></figcaption></figure>

#### **Step 5:** Confirm reset

Confirm reset and then copy token

{% hint style="danger" %}
Save the token, as we will need it later!
{% endhint %}

<figure><img src="/files/aukZH9dO9BwyGTniScYT" alt=""><figcaption><p>Confirm reset</p></figcaption></figure>

#### **Step 6:** Invite

Next, you create an invitation link

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

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

#### **Step  7:**

Next, copy the link and open it in a new window.

#### **Step 8: Select server**

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

In the next window, click on Authorize.

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

The bot should now be visible on your Discord server.

#### **Developer Mode**

Now activate the *Developer Mode* to set up the Discord Bot module correctly.

You can activate developer mode in the settings under Advanced.

<figure><img src="/files/6JPfPJEtiiCqXuBneECH" alt=""><figcaption></figcaption></figure>


---

# 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://wiki-en.herrtechniker.eu/bungeesystem/module/discord-bot/setup.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.
