Support Discord from Flatpak
Is there plans to add support for Discord's Flatpak package?
The IPC paths seem to be different for the Flatpak version of Discord; /run/user/1000/discord-ipc-<0-9> don't exist, but /run/user/1000/app/com.discordapp.Discord/discord-ipc-<0-9> does.
For now, I'll just not use Flatpak, but It'd be nice to have this fixed, because Arch's discord package (in community) sometimes takes a long time to catch up to package updates.
Related to #36 and #38
It does seem that @FichteFoll made a commit to fix this this issue (https://github.com/Snazzah/SublimeDiscordRP/commit/9415b09b78a4666f36f479610941605e2a8845ea) but it checks for /run/user/1000/snap.discord/discord-ipc-<0-9>. Try and see if https://github.com/Snazzah/SublimeDiscordRP/commit/1ee6d25efccc80a126302612079ebb87a82399c0 fixes this.
Yes, snap and flatpak are different packaging tools and use different paths. For reference, here is how I implemented in another utility that provides a rich presence: https://github.com/FichteFoll/discordrp-mpris/commit/a685a20fcb6a36c28ff1edb2641db3442b078e7c