jagrosh / DiscordIPC

Connect locally to the Discord client using IPC for a subset of RPC features like Rich Presence and Activity Join/Spectate
Apache License 2.0
141 stars 47 forks source link

IPC Connect #2

Open memes2545 opened 6 years ago

memes2545 commented 6 years ago

How do you connect this to the app you want to use (like IntelliJ IDEA)

Shengaero commented 6 years ago

Currently this repo is a work in progress so I'd honestly recommend you wait on using it in a project.

We haven't even had a release on the releases page after all. 😅

memes2545 commented 6 years ago

Well I do want to know how to make it work cause I see another person using it and it is working for them (they linked me here)

jagrosh commented 6 years ago

Integrating this into an existing app would be done the same way you'd write any java code for an existing app. The quickest thing to a tutorial I can give at this point is to create an IPCClient and connect it, and then subscribe to events/send presences after that. Of course, make sure that you've added the window to your client's recognized games and that the window is active (you'll need to supply a window or use the app's window)