mirror of
https://github.com/burrow-dev/burrow-client.git
synced 2026-11-19 09:37:50 -05:00
feat: discord rich presence
Client 1.3.0 shows "Playing Burrow" on the player's Discord profile while the game is open: where they are (the game's ajPresence, dens and player parties never named), the time since they started and a button to the download page. It goes through the Discord app's local IPC socket (no packages; Windows pipe, Linux and macOS sockets, Flatpak and Snap too) and retries quietly while Discord is not running. The server names its Discord application in its flashvars (discordAppId); none, no presence.
This commit is contained in:
1 parent
164e2e8adc
commit
92c5042c5e
5 files changed
+218
No files matched your search
@@ -6,6 +6,7 @@ const sendWhitelist = new Set()
|
||||
.add("initialized")
|
||||
.add("fps")
|
||||
.add("openPage")
|
||||
.add("presence")
|
||||
.add("printImage")
|
||||
.add("reloadGame")
|
||||
.add("reportError")
|
||||
|
||||
Reference in new issue
Block a user