Add Discord RPC integration through IPC

  • Feature Description: I’d like to update the Discord user activity of my users depending on Overwolf events.
  • impact for my app: Low.
  • What is your current pain point? I’m unable to connect to the Discord rpc because of browser restriction.
  • What do you have in mind to solve it? Writing a c# plugin

sample code in node.js:

import { Client } from 'discord-rpc';

const client = new Client({
    transport: 'ipc'
});

client.on('ready', () => {
    client.setActivity({
        details: 'Necromancer - Level 91 (Expedition)',
        state: `In Cartographer's Hideout`,
        startTimestamp: Date.now(),
        largeImageKey: 'necromancer',
        largeImageText: 'Necromancer'
    });
});
client
    .login({ clientId: 'xxx' })
    .catch(console.error)

image

You can use this

1 Like

Cheers! I’ve actually writing my own C# plugin in the meantime.
Still a nice feature to be included in the default Overwolf stack tho.

@Kyusung4698 hey,

Currently, it’s not in our roadmap. Our plugin API gives you the ability to integrate with third-party components and other platforms.