When you create a new project, the first thing to do is to create a bot on the developer portal!
Go to the url https://discord.com/developers/applicationsarrow-up-right and create a new application as shown below
After creating an application you should get something like this
Select the "Bot" tab
Click on "Reset Token"
Now click on "Copy"
WARNING
Your bot token should remain secret and never share it to anyone.
In case someone has the token, your bot will be stolen. If this occurs reset the token as fast as possible.
Now, scroll a bit and enable the intents
Open the bot builder and paste the token
Now, back to the developer portal, click on "oAuth2"
Copy the Client ID
Go back to the bot builder and paste it
Now you can save the project
You now setted up your bot!
Last updated 2 years ago