# Bot Application Setup

## 🛠️ **Create your bot in Discord**

Step 1: Visit the Discord Developers page and click on 'New Application' to proceed

<div align="left"><figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fgit-blob-c8c551e76a95ee0d1056574833c57ca373fb3f6a%2Fimage%20(4)%20(2).png?alt=media" alt=""><figcaption></figcaption></figure></div>

Step 2: Name your bot and then navigate to the 'Bot' category.

![](https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fgit-blob-43fc645cbeb1700f001658d933a7381b622ab40b%2Fimage%20\(5\)%20\(1\).png?alt=media)

Step 3: Click on 'Create Bot' and copy your token. You will need to paste it into the config.yml file. After that, enable the following intents:

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fgit-blob-9a4403141fb8b555afb0378863fa631e7e2a34c8%2Fimage%20(6).png?alt=media" alt=""><figcaption></figcaption></figure>

## 🤖 How do i invite the bot to my discord server?

Step 1: It's easy! Just navigate to the OAuth2 category

<div align="left"><figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fgit-blob-1981c92362a6830e538ee43b0ea219e52b14c0fc%2Fimage%20(7)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>

Step 2: In the scope section, select 'bot' and 'applications.commands', and in bot permissions, select 'administrator'

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fgit-blob-bd4ef598b424a9862c89780b4433c8729f77425d%2Fimage%20(9)%20(1).png?alt=media" alt=""><figcaption><p>After that, scroll down and use the generated URL to invite the bot to your server!</p></figcaption></figure>
