Discord Configuration
Connect your community to Discord so C2 can verify the server and offer its channels and roles to supported features.
Access You Need
To open Settings > Discord, your active C2 profile needs Admin: manage Discord (admin:manage-discord). You must also be able to invite the MilSim.io bot to the Discord server.
Only the community owner can use Unlink Discord.
Connect A Discord Server
Before You Start
- Have administrator-level permission to invite a bot to the target Discord server.
- Have the server ID ready. C2 accepts a numeric Discord server ID with 15–32 digits.
- Make sure the server is not already linked to another MilSim.io community.
Steps
- Open Settings > Discord.
- Under Get the Bot, select Open bot invite and complete Discord’s authorisation flow for the correct server.
- Return to C2 and select Continue to link guild.
- Paste the value into Discord server ID.
- Select Save guild ID.
- On the verification step, select Verify Discord access.
Expected Result
C2 confirms the guild ID, then loads Guild Channels & Roles. You can use Refresh later to reload the available channels and roles.
If It Fails
- “Enter a 15-32 digit Discord server ID”: copy the server ID again; do not paste an invite link or channel ID.
- Guild not found / verification failed: confirm the bot is in that server and can view channels.
- Already claimed: the Discord server is linked to another community; contact the owner of that community or support.
- Rate limit reached: wait and retry; repeated verification attempts will not bypass Discord’s limit.
Change The Linked Server
- Open Settings > Discord.
- Select Change guild ID.
- Enter the replacement value in Discord server ID.
- Select Save guild ID, then Verify Discord access.
Changing the server clears the currently loaded channel and role choices in C2. Review vote reminders and any Discord-dependent setup after the new server verifies.
Configure Vote Reminders
Vote reminders post to one Discord channel and can optionally mention one Discord role.
Steps
- Finish Discord verification.
- In Vote Reminder Settings, choose Vote Reminder Channel.
- Optionally choose Vote Ping Role.
- Select Save vote reminder settings.
Expected Result
C2 saves the selected channel and optional role for daily vote reminders. Choose Disabled for Vote Reminder Channel to turn reminders off; the Vote Ping Role control is then disabled because no reminder can mention it.
Recovery
- Use Reset changes to return the selectors to their last saved values.
- An Unknown channel or Unknown role means the saved Discord resource is no longer returned by the linked server. Choose a replacement and save.
- If the list is empty, select Refresh. If it remains empty, verify the bot’s server access.
Unlink Discord
Unlinking disconnects the Discord server from the community. C2 warns that event Discord notifications and mentions, vote reminders and ping roles, and Discord-related automation lookups stop working.
- Open Settings > Discord.
- Read the impact list in Unlink Discord.
- Select Unlink Discord.
The page returns to the setup flow. Reconnecting a server later requires the normal invite, guild-ID, and verification steps.
Access And Technical Reference
| Control or route | Access / condition | Result |
|---|---|---|
Settings > Discord (/settings/discord) | admin:manage-discord | Opens Discord setup and configuration. |
| Open bot invite | Discord permission to invite the bot | Opens Discord’s bot-authorisation page. |
| Save guild ID | Valid 15–32 digit ID; server not claimed elsewhere | Stores the guild ID after the API validates it. |
| Verify Discord access / Refresh | Linked guild and bot access | Retrieves channels and roles from Discord. |
| Save vote reminder settings | Verified resources; a changed selection | Stores the reminder channel and optional role. |
| Unlink Discord | Community owner | Disconnects the guild from the community. |
The page itself is guarded by admin:manage-discord, which is listed in the API permission catalogue. Owner-only unlinking is enforced by the server response and stated by the UI.
Source checked: milsim-cic/app/pages/settings/discord.vue, milsim-api/.../CommunityDiscordController.java, and abilities.json.