Bot Setup
Application Creation and Management
Last updated
Application Creation and Management
Last updated
Go to the Discord developer portal
Click on on the top right button "New Application"
In the modal, input a name in the "name" field, then click on the button "create"
On the left, there is a sidebar menu which has an option "General Information" This is where you can customize the bot and add more information
Click on the menu "Bot"
Click on the far right button "Add Bot"
Scroll down to the sections "Privileged Gateway Intents", and turn all of them on
Get the token by clicking on the button "Reset Token", then click on the button "Copy"
It is impossible to get an already created token: If you have lost it, you need to reset it
Go to the sidebar menu "OAuth2", then on the sub-menu "URL generator"
Select the option "bot"
Select the bot permissions you need (Recommandation: for a private bot, choose Administrator)
Below the permissions menu, browse to the URL
Invite the bot to the server you need
Further information and official documentation: https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot
To know how to use the token, check