overlayeddev / overlayed

A modern, open-source, and free voice chat overlay for Discord that supports Mac, Linux, and Windows
https://overlayed.dev
GNU Affero General Public License v3.0
357 stars 27 forks source link

Add new RPC methods #183

Closed Hacksore closed 3 months ago

Hacksore commented 4 months ago

No idea how to use this yet 😂

https://github.com/user-attachments/assets/69465555-8d8f-42ba-92ae-f553b2d5fbb4

New Commands

New Events

Added oauth scope

In order to use the soundboard and sub to notifications you need to expand the oauth scopes to:

"guilds",
"rpc.notifications.read",
vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
overlayed ❌ Failed (Inspect) Aug 31, 2024 5:31pm
Kako38 commented 3 months ago

Thank you for this PR, it has been really helpful. How did you figure out that the name of the command for the soundboard was PLAY_SOUNDBOARD_SOUND?

Just in case someone has trouble with permissions for PLAY_SOUNDBOARD_SOUND, the scope needed should be 'rpc.voice.write'. The Discord doc doesn't mention soundboard for this scope, but the message on the OAuth popup clearly says it gives access to the soundboard.

Hacksore commented 3 months ago

Hey @Kako38

I had found @spdermn02 fork for discord-rpc (https://github.com/spdermn02/RPC/commit/23fe6fd0f78013bfd8e7ae4957f6c9f2a84daf84) which he found out the new actions from the stream deck discord plugin.

Seems like they were added specifically for the stream deck 😂.

Hacksore commented 3 months ago

Going to let this land on main but disabled. Once we get to a point where we can find a good use-case for a soundboard we can add this.

The quick napkin sketch is probably like the ping menu from league of legends.

The vibe: image

actual ping menu in lol: image