Add new RPC methods
No idea how to use this yet 😂
https://github.com/user-attachments/assets/69465555-8d8f-42ba-92ae-f553b2d5fbb4
New Commands
-
PLAY_SOUNDBOARD_SOUND- Play a soundboard sound from a guild or the global ones -
GET_SOUNDBOARD_SOUNDS- Requests discord to send you all the guild soundboard sounds
New Events
-
NOTIFICATION_CREATE- sent when the you get a message that tags your or a dm -
VIDEO_STATE_UPDATE- not working or sure if it's real -
SCREENSHARE_STATE_UPDATE- not working or sure if it's real
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",
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 |
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.
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 😂.
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:
actual ping menu in lol: