Lachee / discord-rpc-csharp

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

[Question] Is there any way to set presence priority? #180

Closed MistressPlague closed 2 years ago

MistressPlague commented 2 years ago

Say, for example that this is my main displayed presence: Discord_ikMn5xG722 that is overriding the one I want to be main.

Is there any way to make my presence I create take priority and display on user popout instead of what is above?

I also noticed SteamId isn't implemented, why is this? It's use extends to above as it can replace said game presence.

Almighty-Shogun commented 2 years ago

I don't really understand the question here. Could you maybe try and explain it a bit better? As for the SteamId implementation it should be in there. But I don't know how to get it working you should ask Lachee about that.

Lachee commented 2 years ago

no. First Open, First Displayed. This is a limitation with Discord

MistressPlague commented 2 years ago

And what about the SteamId implementation? That question wasn't answered properly. There's a property, but it leads to nothing and is used nowhere?

Lachee commented 2 years ago

question was answered: no you cannot set priority presence. First in, first display. Limitation on the official Discord Client, not this library.

Steam ID is used for registration of URI schemes for the "Join" and "Spectate" feature as per the documentation.

MistressPlague commented 2 years ago

I am referring to This

Lachee commented 2 years ago

I am referring to This

Refer to the documentation. That is set via RegisterUriScheme (hence why it's private set)