When using the flatpak version of discord com.discordapp.Discord (from flathub) the IPC channel is moved to /run/users/$UID/app/com.discordapp.Discord/. I noticed you have a workaround for snaps which changes the prefix, It would be nice if you could add a similar workaround for flatpaks. Using your workaround I was able to get discord-rpc to work with the following.
When using the flatpak version of discord
com.discordapp.Discord
(from flathub) the IPC channel is moved to/run/users/$UID/app/com.discordapp.Discord/
. I noticed you have a workaround for snaps which changes the prefix, It would be nice if you could add a similar workaround for flatpaks. Using your workaround I was able to get discord-rpc to work with the following.I would PR but I don't know how to add the buttons in atom. Thanks for the awesome package and I hope this can get added.