Setting up a Bot Account
- Go to the Discord Developers Portal.
- Click on the
New Applicationbutton, enter your desired bot name, and clickCreate. - In the
Installationtab, setInstall LinktoNoneand clickSave Changes. -
In the
Bottab:- Turn off the
Public Botsetting. - Turn on the
Message Content Intentsetting. - If setting up Python Bot, also turn on the
Server Members Intentsetting. - ...and click
Save Changes.
- Turn off the
-
Click the
Reset Tokenbutton and thenCopythe generated token. Save it somewhere safe, as you will need it later.Note: Do not post this token anywhere public, as it grants complete control of your bot.
-
In the
OAuth2tab, select thebotscope andAdministratorpermission, and visit the generated URL in your Discord app or browser to invite the bot to your server.