I'm trying to give my bot a custom RPC, but it shows up on my profile instead of the bots. I use a library called NetDiscordRpc, here's my code, i have no idea why this happens.
using NetDiscordRpc;
using NetDiscordRpc.RPC;
[...]
peivate void UpdateRPC()
{
client = new DiscordRPC("My bots client ID");
//Subscribe to events
client.OnReady += (sender, e) =>
{
Console.WriteLine("Received Ready from user {0}", e.User.Username);
};
client.OnPresenceUpdate += (sender, e) =>
{
Console.WriteLine("Received Update! {0}", e.Presence);
};
//Connect to the RPC
client.Initialize();
client.SetPresence(new RichPresence()
{
//Setting custom RPC details
});
client.Invoke();
}
Ok, seems like discord doesn't support RPC for bots. What I was looking for was activities. Thank you Anu6is!
Edit: Typo.