MinnDevelopment / java-discord-rpc

Java bindings for https://github.com/discordapp/discord-rpc (using JNA)
Apache License 2.0
132 stars 38 forks source link

How to utilize Discord_Initialize() to connect to second local instance of Discord #38

Closed Saelack closed 5 years ago

Saelack commented 5 years ago

Attempting to test locally for Rich Presence game joining, and utilizing Canary for a second instance of Discord. However, I am not seeing how to attach to this second instance - the Discord API seems to mention a 5th argument, "pipe", as a way of connecting to an alternate instance.

Am I missing something?

MinnDevelopment commented 5 years ago

There was a pipe argument available at a time but no release for it was ever made. The change was reverted in this commit and has not received a release.

Saelack commented 5 years ago

So how would I utilize this functionality - or is a release planned including this in a release?

MinnDevelopment commented 5 years ago

This library only adds an interface for the official SDK, if they decide not to make a release with this feature I can't either. You will have to ask them for any further details on its status.

Saelack commented 5 years ago

Ahh, I understand my confusion - I thought the documentation was correct, and missed that the commit you referred to was from the official SDK.

Many thanks.