Shared setup guide
Discord Bot Setup
Create a Discord application, protect its token, enable intents, invite the bot, and copy Discord IDs.
Create the application#
- Open the Discord Developer Portal and sign in to the Discord account that will own the application.
- Choose New Application, enter the customer-facing bot name, accept Discord’s terms, and create it.
- Open General Information and copy the Application ID. This is also called the client ID by some products.
- Open Bot. Create the bot user if Discord presents that option, then reset and copy the token into the product’s private configuration.
Configure gateway intents#
Enable only the intents required by the product. Server Members Intent is required for products that inspect or synchronize members. Message Content Intent is required by DM RELAY and any feature that must read message text. Save changes before restarting the bot.
Generate the invite#
- Open OAuth2 → URL Generator.
- Select the
botandapplications.commandsscopes. - Select only the permissions documented for the product.
- Open the generated URL, choose an authorized server, and complete the authorization.
- Place the bot’s Discord role above every role it must assign, remove, or manage.
Copy Discord IDs#
Enable Developer Mode in Discord under User Settings → Advanced. Right-click the user, server, role, channel, or category and choose Copy ID. IDs are numeric values; do not enter a username, role name, channel mention, or invite URL where an ID is required.