Setting up a Bot Account

  1. Go to the Discord Developers Portal.
  2. Click on the New Application button, enter your desired bot name, and click Create.
  3. In the Installation tab, set Install Link to None and click Save Changes.
  4. In the Bot tab:
    • Turn off the Public Bot setting.
    • Turn on the Message Content Intent setting.
    • If setting up Python Bot, also turn on the Server Members Intent setting.
    • ...and click Save Changes.
  5. Click the Reset Token button and then Copy the 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.
  6. In the OAuth2 tab, select the bot scope and Administrator permission, and visit the generated URL in your Discord app or browser to invite the bot to your server.