Skip to Content
BridgeDiscord Integration

Discord Integration

Go to Discord Developer Portal

Navigate to the Discord Developer Portal  and sign in with your Discord account.

Create a new application

Click the “New Application” button, give it a name (e.g., “My Server Bot”) and click “Create”.

Configure bot settings

Go to the “Bot” section:

  • Enable “Presence Intent”, “Server Members Intent”, “Message Content Intent” options.
  • Uncheck “Public Bot” option (optional, but recommended).
  • Click “Save Changes”.

Copy bot token

Scroll down to the “Token” section and click “Reset Token” or “Copy” to get your bot token.

Keep this token secret! You will need it for the configuration.

Setup bot token

Open your server.cfg file and add the following line with your bot token:

set sd_bridge:botToken "YOUR_BOT_TOKEN_HERE"

Replace YOUR_BOT_TOKEN_HERE with the token you copied from the Discord Developer Portal .

Invite bot to your server (optional)

Go to the “OAuth2 URL Generator” section:

  • Under “Scopes”, select bot.
  • Under “Bot Permissions”, select the permissions your bot needs (e.g., Send Messages, Read Message History, Manage Messages).
  • Copy the generated URL at the bottom and open it in your browser to invite the bot to your Discord server.

Restart your server

Last updated on