Lachee / discord-rpc-csharp

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

Party settings don't work, "JOIN" button doesn't appear #159

Closed repoluhun closed 2 years ago

repoluhun commented 2 years ago

Party settings don't work, "JOIN" button doesn't appear,I'm not sure how to fix it. Code :

Party gaynessh = new Party();
            gaynessh.ID = "random169";
            gaynessh.Max = 2;
            gaynessh.Privacy = Party.PrivacySetting.Public;
            gaynessh.Size = 1;
            //discordActivity.discord.RunCallbacks();
            client.SetPresence(new RichPresence()
            {
                Details = detail,
                State = state,
                Assets = new Assets()
                {
                    LargeImageKey = "image_large",
                    LargeImageText = "FPremium - YouTube without ads & Offline",
                    SmallImageKey = currentimage
                },
                Party = gaynessh
            });
Lachee commented 2 years ago

You need to set the join secret