Connect Discord
Add the Patchrally bot to your server, pick the forum it watches and the channel it posts patch notes in.
Before you start#
You need two things:
- In Patchrally, you are an owner or admin of the studio. Members see Settings read-only.
- In Discord, you own the server or have the Manage Server or Administrator permission in it.
Every studio uses the same Patchrally bot. Several games in one studio can share a server, but a server belongs to one studio at a time. You also need a forum channel for bug reports: a Discord channel where each post is its own thread.
Add the Patchrally bot#
To connect your server:
- Open your game in the dashboard, then the Settings tab, and find Discord.
- Choose Add Patchrally bot to Discord. Discord opens.
- Pick your server and allow the bot. It asks for four permissions: View Channels, Send Messages, Send Messages in Threads and Read Message History.
- Discord sends you back to Settings with the server linked. The Discord section shows the server name and Patchrally bot is in your server once the bot has checked in.
Bot already in your server? Choose Bot already in your server? Link it by server ID, paste the server ID and choose Link server. Patchrally checks your own Discord login for this, so it may send you to Discord once to allow access to your server list. It finishes the link by itself when you’re back.
To move to another server, choose Change server. Disconnect stops reading threads, replying to players and posting patch notes, and clears the channel fields. Reports and tickets you already have stay.
Pick the forums to watch#
Watched channels must be forum channels. Each new thread in them becomes one report.
- Under Watched forum channel IDs, click a forum listed under Forums the bot can read. Each click adds a line. You can also paste channel IDs, one per line.
- Choose Save settings.
When you add a forum, its threads started since your latest patch are read too, at most 30 days back. Their authors are not answered, and no tickets are filed automatically for 24 hours.
Pick the announcement channel#
When you publish a release, its patch notes are posted in the announcement channel. It must be a text or announcement channel, not a forum.
- Under Announcement channel ID, click a channel listed under Channels the bot can post in, or paste its ID.
- Choose Save settings. Patchrally checks the bot can post there after you save.
The channel fields stay disabled until a server is connected. See Releases for what gets posted.
What the bot reads and writes#
The bot reads:
- The title and first post of each new thread in your watched forums, and who posted it.
- 👍 reactions on that first post. Each one counts as a vote for the bug.
- Your channel names, so Settings can list the channels you can pick.
It does not read replies in threads, or any channel you haven’t picked as a watched forum.
The bot writes:
- A reply in the player’s thread when you change the bug’s status, such as “Status: Planned”, and when the fix ships.
- Your patch notes in the announcement channel when you publish a release.
- A direct message to players who reported or voted when their fix ships. Discord only delivers it if the player allows messages from server members.
- Once per player per game, if your game has a Steam App ID: a message asking them to link Steam, so their playtime counts as verified. Reporters get it in their thread, voters by direct message.
More about player data: Players and privacy.
Channel permissions in Discord#
Discord names the permission switches differently for each channel type, which is the most common cause of warnings:
- A forum channel shows Create Posts and Send Messages in Posts. The bot needs View Channel, Read Message History and Send Messages in Posts there (Patchrally’s warning calls it Send Messages in Threads).
- A text or announcement channel shows Send Messages. The bot needs View Channel and Send Messages there.
So a warning about the announcement channel must be fixed on that channel itself, not on your forum. To fix it:
- In Discord, right-click the announcement channel and choose Edit Channel > Permissions.
- Add the Patchrally bot.
- Allow View Channel and Send Messages, then save.
Troubleshooting#
Settings shows problems next to each channel field and in the Needs fixing list at the top. The bot re-checks a few seconds after you save channel settings or after any channel or role changes in your server, and every 10 minutes anyway. A permission you give through a role added to the bot itself is picked up at the next 10-minute check. The page updates by itself; you don’t need to reload.
Channel warnings and what to do:
- “isn’t in this server. Check the ID.” The channel was deleted or the ID is from another server. Pick the channel again from the list.
- “isn’t a forum channel, so there are no threads to watch.” Watched channels must be forums. Remove it from Watched forum channel IDs and pick a forum.
- “is hidden from the Patchrally bot.” On that forum, open Edit Channel > Permissions, add the Patchrally bot, and allow View Channel and Read Message History.
- “is readable, but the bot can’t reply in its threads (Send Messages in Threads)” On the forum, allow Send Messages in Posts for the bot. Until then players won’t hear when a fix ships.
- “isn’t a text or announcement channel.” The announcement channel can’t be a forum or voice channel. Pick a text or announcement channel.
- “doesn’t let the Patchrally bot post.” Fix it on the announcement channel: Edit Channel > Permissions, add the Patchrally bot, allow View Channel and Send Messages. See Channel permissions in Discord above.
Server warnings:
- “The Patchrally bot isn’t in your server.” Someone removed it. Choose Add bot to server.
- “Bot status last checked … The Patchrally bot may be offline.” Patchrally hasn’t heard from its bot for over 30 minutes, so the other Discord lines may be out of date. This is on Patchrally’s side, not your server. It clears by itself when the bot checks in again.
Patchrally re-checks every connection once a day. If it fails, the server is disconnected, the channel fields are cleared, and Settings shows “Discord disconnected: …” with one of these reasons:
- the person who connected it is no longer a member of the server
- the person who connected it no longer has Manage Server or Administrator
- the Patchrally bot was removed from the server (this one happens as soon as the bot is removed)
- the person who connected it unlinked their Discord login
To reconnect, someone with Manage Server chooses Add Patchrally bot to Discord again, then picks the channels again.
Messages while connecting:
- “You must own this server or have Manage Server or Administrator permission in it.” Ask someone with that permission to connect it.
- “This server is already connected to another studio.” Disconnect it there first, or have the Discord server’s owner connect it: the owner can move it to your studio.
- “This Discord link has expired or was already used.” The link is good for 10 minutes and one use. Start again from Settings.
- “Discord was closed before the bot was added. Nothing changed.” Start again when ready.
- “Discord didn’t confirm which server the bot joined. Try again.” Try again.
- “Your account has no Discord login linked.” Choose Connect Discord. The server links when you’re back.
- “Patchrally still can’t see your Discord servers.” Choose Re-connect Discord and allow server access.