Lachee / discord-rpc-csharp

C# custom implementation for Discord Rich Presence. Not deprecated and still available!
MIT License
560 stars 93 forks source link

[BUG] buttons does not redirect to the link #165

Closed ChickChuck2 closed 2 years ago

ChickChuck2 commented 2 years ago

Well, I have buttons working in my rich presence, but when I click on them, they don't redirect me to the url

DiscordRPC.Button visitUrl = new DiscordRPC.Button();
visitUrl.Label = "Visitar Site";
visitUrl.Url = "https://rule34.xxx/";

RPCClient.SetPresence(new DiscordRPC.RichPresence()
                    {
                        Buttons = new DiscordRPC.Button[]
                        {
                            visitUrl
                        }
});

After using these presence settings and initializing presence, everything appears fine, but when I click the button it doesn't appear.

ChickChuck2 commented 2 years ago

Resolved: I needed someone other than me to click the button