-
Notifications
You must be signed in to change notification settings - Fork 0
Discord ‐ Setup and Configuration
Go to the Discord developer portal and create a new application to get all the required Tokens and IDs. Note that you will need to create two applications if you would like to use Super Pal Bot and Spin the Wheel Bot.
Each bot will need a different set of privileged gateway intents for all the features to work properly:
- Super Pal Bot : GUILD_MEMBERS and MESSAGE_CONTENT
- Spin the Wheel Bot : MESSAGE_CONTENT
Create a role named Super Pal of the Week (case sensitive) and add your desired elevated permissions (if any).
Create a role that is one tier higher named spotw-bot and apply it to the Super Pal Bot. This is required in order for the Super Pal Bot to apply the Super Pal of the Week role.
Create a role named Spin the Wheel.
Get your bot's CLIENT_ID under OAuth2 > General in the Discord developer portal.
Below are the recommended settings for OAuth invitation links. These can be customized to fit your needs, but the recommended approach is to use the Bot Permissions tool in the Discord developer portal.
Super Pal Bot (Recommended value: 285255680)
- guilds
- guilds.members.read
- bot
- Manage Roles
- Send Messages
- Manage Messages
- Move Members
- Attach Files
Spin the Wheel Bot (Recommended value: 43008)
- guilds
- guilds.members.read
- bot
- Send Messages
- Manage Messages
- Attach Files
The settings listed above would result in the following link, where [CLIENT_ID] is substituted with your bot's CLIENT_ID and [PERMISSIONS_INTEGER] is substituted to meet your Bot Permissions:
https://discord.com/api/oauth2/authorize?client_id=[CLIENT_ID]&permissions=[PERMISSIONS_INTEGER]&redirect_uri=https%3A%2F%2Fdiscord.com%2Fapi%2Foauth2%2Fauthorize&response_type=code&scope=guilds%20guilds.members.read%20bot%20applications.commands
Use the wiki home page to follow the appropriate path for your deployment method.
Follow this guide first:
Then, follow the guidance for your chosen deployment method: