Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change "Playing" to "Listening" on Discord Rich Presence integration #70

Closed
paulocavallari opened this issue May 10, 2023 · 4 comments
Closed
Assignees
Labels
enhancement New feature or request implemented

Comments

@paulocavallari
Copy link

In the new version of Discord integration API called "Discord Game SDK" you can change a "Playing" text to "Streaming", "Listening" or some custom one.

More info here:
https://discord.com/developers/docs/game-sdk/activities#data-models-activitytype-enum

@Pyseph
Copy link

Pyseph commented Nov 10, 2023

Sadly this isn't possible due to Discord limitations, as written below in the link you sent:

ActivityType is strictly for the purpose of handling events that you receive from Discord; though the SDK/our API will not reject a payload with an ActivityType sent, it will be discarded and will not change anything in the client.

You can see that others have met the same issue here: discordjs/RPC#146

@starstriker0
Copy link

starstriker0 commented Apr 22, 2024

uh, i have a suggestion, and this is just a suggestion from someone who doesnt know too much about this so dont bite my head off if its a dumb one.

right now, in vencord, there is a plugin called custom rpc, witht hat oyu can set whatever status you want, listening, watching, streaming, etc. what if you used that idea and made a sort of companion plugin for vencord or better discord, would it be possible to link the "youtube music for desktop" data to that plugin and have the plugin display what you want it to?

edit: maybe have a switch in settings to control which api is used, one side of the switch uses the normal "playing" one we have now, and the other is if you have the plugin installed

@Pyseph
Copy link

Pyseph commented Jul 3, 2024

Hello! It actually does seem to be possible, as another google chrome extension has achieved it (https://chromewebstore.google.com/detail/watchdis/fdlcfnimjmkjlajpifhnehgeeiipgmfm?hl=en-US).
Perusing its source code, I found this relevant code:
image
So it does seem that Discord recently added support for the listening type enum, having it properly set your status as 'Listening to.'
image
cc. @Venipa

@Venipa Venipa self-assigned this Dec 5, 2024
@Venipa Venipa added enhancement New feature or request implemented labels Dec 5, 2024
@Venipa
Copy link
Owner

Venipa commented Dec 5, 2024

has been implemented into latest release 👍

@Venipa Venipa closed this as completed Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request implemented
Projects
None yet
Development

No branches or pull requests

4 participants