2 Commits
Author SHA1 Message Date
Burrowdev 2b70e10624 fix: discord presence on windows (client 1.3.1)
crypto.randomUUID does not exist in Electron 11's Node 12.18, so every
presence update threw in the main process on Windows. Request ids come
from crypto.randomBytes now.
2026-10-18 19:46:27 +03:00
Burrowdev 92c5042c5e 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.
2026-10-18 18:52:34 +03:00