Setting up a Bot Account
- Go to the Discord Developers Portal.
- Click on the
New Application
button, enter your desired bot name, and clickCreate
. - In your new application, go to the
Bot
tab, clickAdd Bot
, and confirmYes, do it!
- Change your bot's
Public Bot
setting off so only you can invite it, save, and then get your Bot Token with theCopy
button.Note: DO NOT post your bot token anywhere public. If you do it can and will be compromised.
- Save your Bot Token somewhere safe to use in the project settings later.
- In the
General Information
tab, grab the Client ID. - Replace
<CLIENT_ID_HERE>
in the following URL and visit it in the browser to invite your bot to your new test server.
https://discordapp.com/api/oauth2/authorize?client_id=<CLIENT_ID_HERE>&permissions=8&scope=bot
Optionally, you can generate your own invite url in the OAuth
tab, after selecting bot
as the scope.