> For the complete documentation index, see [llms.txt](https://aaron-garcia.gitbook.io/lokii-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aaron-garcia.gitbook.io/lokii-wiki/installation/discord-bot-setup.md).

# Discord Bot Setup

To setup your discord bot. Please follow the instructions bellow.

1. Login to your [Discord](https://discord.com/).
2. Now go to this site [Discord Developers](https://discord.com/developers).
3. Once you are in it should show you this.

![](https://388383588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBHaUP1KVvhitZCXsQ6Z%2Fuploads%2FFr6xl7OvapzaokCTTvKg%2Fimage.png?alt=media\&token=40c97be5-3c13-4d58-9ac6-62bb8d4ac12a)

&#x20;4\. Now click New Application. And name your application to anything else.

&#x20;5\. In here you can manage your discord bot. (Change the Name, Add a Picture, or Description, and etc)

&#x20;6\. Next is to click Bot.

![](https://388383588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBHaUP1KVvhitZCXsQ6Z%2Fuploads%2Fult9wmBWZntcGl5kUf3n%2Fimage.png?alt=media\&token=5a5f45e5-78d1-445e-8053-2b9eb7bc2e1c)

&#x20;7\. After that click Add Bot.

![](https://388383588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBHaUP1KVvhitZCXsQ6Z%2Fuploads%2FUbjHXdXFCZp1i5fC7lJO%2Fimage.png?alt=media\&token=0ec554ea-d974-4929-add2-9e27ddda20d5)

&#x20;8\. After that, Copy the token of the bot. And save it on a blank notepad or text document for later.<br>

![](https://388383588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBHaUP1KVvhitZCXsQ6Z%2Fuploads%2FgBZGKVxdSQGsP29XsCtY%2Fimage.png?alt=media\&token=5861a435-e830-4018-a43c-3340d2c41ba9)

&#x20; 9\. After that click OAuth. And then URL Generator.

![](https://388383588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBHaUP1KVvhitZCXsQ6Z%2Fuploads%2FInIFBrq4pEJwVqsdYsVe%2Fimage.png?alt=media\&token=a402bf08-3508-4765-b249-952f3810caa2)

&#x20;10\. In your OAuth2 URL Generator. Mark this things.<br>

![](https://388383588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBHaUP1KVvhitZCXsQ6Z%2Fuploads%2FFg9TSq9cAfSm8FqtrAnS%2Fimage.png?alt=media\&token=3f3afd93-ab33-42d3-a691-3ba234fdd895)

![](https://388383588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBHaUP1KVvhitZCXsQ6Z%2Fuploads%2FGecMfqJkOdF3Wb6wzgdH%2Fimage.png?alt=media\&token=b640e69e-7266-4202-bcb1-1a3429081a23)

&#x20;11\. After that copy the generated url. And paste it to your browser to invite your bot. <br>

![](https://388383588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBHaUP1KVvhitZCXsQ6Z%2Fuploads%2FXqpXsLAAX6axsyMp74X6%2Fimage.png?alt=media\&token=1319e4e4-a95d-4244-960d-40578a4ae168)
