Setting up Bot on Discord Developer Portal - musicpack/mbox GitHub Wiki

  1. Go to Discord Developer Portal

  2. Add new application to Discord account.

image

  1. Enter Bot's name. Recommended name: Music Box

  2. Click on Bot tab.

  3. Scroll down to Privileged Gateway Intents and turn on both PRESENCE INTENT and SERVER MEMBERS INTENT.

image

  1. Scroll back up to Build-A-Bot and copy token.

image

  1. Navigate to sample_config.ini and change variable TOKEN to the copied value.

  2. Rename sample_config.ini to config.ini

Note: Writing your token to the config.ini file is the easiest way to get set up but is not recommended! You can set your token to environment variable 'DiscordToken_mbox' to be safer.

Want to understand what's happening under the hood? Check out the Discord.py library tutorial to learn more!