How does discord read game activities on windows?
Can we achieve this by using WINUI3? And are there any open source projects out there that could achieve the same functionality?
4 Replies
the game talks to discord, not the other way around
this is how there are plugins for visual studio etc that add it
i think DiscordRPC can achieve that, right?
yes
https://discord.com/developers/docs/rich-presence/best-practices
but discord RPC is deprecated, they recommend the sdk now
I have used https://github.com/Lachee/discord-rpc-csharp in the past to do custom rich presence
but it seems stale
the official discord sdk is probably the way to go https://discord.com/developers/docs/game-sdk/getting-started
its worked fine for my game and is fairly easy to setup.