> For the complete documentation index, see [llms.txt](https://wiki-en.herrtechniker.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki-en.herrtechniker.eu/bungeesystem/module/discord-bot/setup.md).

# Setup

Setting up a Discord bot can be difficult for some people. However, if you know how, it's very easy.

## 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="https://931426099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DC56OEL1k7OH4aPJLxB%2Fuploads%2F1sf49JzkxQnxDO1jeegM%2FSchritt2.JPG?alt=media&amp;token=383c7584-1c87-4aa1-a199-324d045e70c8" 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="https://931426099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DC56OEL1k7OH4aPJLxB%2Fuploads%2FCufNAAEBX97y0ogpAiZA%2FSchritt3.JPG?alt=media&amp;token=a5bf3fd6-2b88-420c-99c0-9c2825e9fa21" 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="https://931426099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DC56OEL1k7OH4aPJLxB%2Fuploads%2FFf0kV0DoWelPL2ZxKRU1%2FSchritt4.JPG?alt=media&amp;token=06c9acf6-aa57-4e13-9532-b3c3c8f99839" 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="https://931426099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DC56OEL1k7OH4aPJLxB%2Fuploads%2F2THE2EqYI33r8Ox8n1Yv%2FSchritt5.JPG?alt=media&amp;token=790f2dc6-ced8-4d7a-9a20-e5da14671cec" alt=""><figcaption><p>Confirm reset</p></figcaption></figure>

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

Next, you create an invitation link

<figure><img src="https://931426099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DC56OEL1k7OH4aPJLxB%2Fuploads%2FPFmUunHd0Zj2CLFASJCE%2FSchritt6.JPG?alt=media&amp;token=8a708a01-8fbe-477b-bf2a-621808183f4f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://931426099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DC56OEL1k7OH4aPJLxB%2Fuploads%2FpuDJ67AljMi12ZXa4PkT%2FSchritt6_1.JPG?alt=media&amp;token=218c6c45-8530-4e2e-ac6c-5f6523830cb7" alt=""><figcaption></figcaption></figure>

#### **Step  7:**

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

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

<figure><img src="https://931426099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DC56OEL1k7OH4aPJLxB%2Fuploads%2F3C3nQRY5e9cNPte3EuGH%2FSchritt8.png?alt=media&amp;token=954d8e91-9077-4152-bdb5-991e5334b343" alt=""><figcaption></figcaption></figure>

In the next window, click on Authorize.

<figure><img src="https://931426099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DC56OEL1k7OH4aPJLxB%2Fuploads%2FfiCwV2pjFbr4lQd4DPSe%2FServer_joined.JPG?alt=media&amp;token=e4f8c9c9-dcff-450e-9505-d021e31e0d34" 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="https://931426099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DC56OEL1k7OH4aPJLxB%2Fuploads%2FmDs5YpEh7gcCIw4OHS2K%2FDeveloperMode.JPG?alt=media&amp;token=240cc7c0-cf2f-424a-be83-7e8159fb7b7d" alt=""><figcaption></figcaption></figure>
