This guide walks you through setting up the Rally Discord Bot in a Discord server for your campaign.
Prerequisites
- A Discord server where you have Administrator permissions
- A Rally Platform campaign
- Campaign Admin access in the Rally Platform
Setup Steps
<aside>
Note: You will need the OAuth URL to add the bot to your discord server. Reach out to Rally support if you do not have the OAuth URL.
</aside>
1. Add bot to your server
- Open the Rally bot OAuth URL in your browser and select your Discord server
- Authorize the bot
Note: The bot requires GatewayIntentBits.Guilds and GatewayIntentBits.GuildMessages intents, which are configured in the bot service code.
Once the bot is invited to your server:
- In your Discord server, run the
/configure slash command
- Requirement: You must have Administrator permissions to run this command
- Click Link Campaign button
- Enter your Campaign ID when prompted
- You can find your Campaign ID in the Rally Platform URL:
/admin/{campaignId}/...
- Or contact your campaign administrators
- Submit the modal
This will create a link request with PENDING status.
2. Approve Bot in Rally Platform
Campaign administrators must approve the bot integration:
- Log into the Rally Platform