How can I add a rich presence to my Electron application using Discord.js and Node.js?

Hi. I want my Electron application to have a rich presence integration that makes users of my application have a rich presence like the ones provided for most recent videogames, where it would say something like Playing <App Name>. Is there a way I can reach this goal using Discord.js? If not, what do you suggest to do for reaching this goal? By the way, I know there is the option of writing a Nodee.js addon for using the official Discord SDK, but I'm not good at using C++, to be honest.
3 Replies
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Juansecu
JuansecuOP2mo ago
It looks like it is no longer maintained. Is it still a viable option?
No description
Juansecu
JuansecuOP2mo ago
Oh, okay. Thank you so much, @Qjuh! I'll give it a look, then!

Did you find this page helpful?