Just-Natsuki-Team / NatsukiModDev

The official repository of Team JN.
Other
84 stars 40 forks source link

[ FEATURE REQUEST ] - DiscordRPC Integration #416

Open TRIDENT1313 opened 1 year ago

TRIDENT1313 commented 1 year ago

Overview:

Add Discord's "Rich Presence" to the JN project. Comes by default with the R8 mod template, but can work on R6. The idea being to allow Discord to display "Playing Just Natsuki" on users Discord status.

Must haves:

Discord RPC package. Just Natsuki Application on DDP (which I've already set up.)

Could haves:

Custom artwork for the JN logo? Changing statuses for different locations?

Is this feature request related to a problem? Please describe.

Nope!

Blizzardsev commented 1 year ago

I like this idea - how much work do you think would be involved from a dev point of view?

In terms of artwork: we do have a range of icons (like those used for the Discord server logos) - perhaps we can use these?

TRIDENT1313 commented 1 year ago

I like this idea - how much work do you think would be involved from a dev point of view?

Not a huge amount. It wouldn't be more than a new package, and a few well-placed lines.

From memory, I believe it requires the connection code to be placed in the "before main menu" label, but I don't see a reason why it shouldn't work anywhere else.

So that might require some fine tuning, but aside from that, it should be fine.

In terms of artwork: we do have a range of icons (like those used for the Discord server logos) - perhaps we can use these?

Perfect! So long as I get my asset labelling right, it should work just fine.

Blizzardsev commented 1 year ago

Awesome - if you're confident it wouldn't be much work to include, then I'd be down to have it added!

As for the icons, these should be up on the drive: you should be able to find what you're looking for there!