phin05 / discord-rich-presence-plex

Displays your Plex status on Discord using Rich Presence
MIT License
286 stars 35 forks source link

[enhancement] Adding "Watching" state instead of "Playing" #33

Closed Ma145 closed 2 years ago

Ma145 commented 3 years ago
Playing

A nice feature would be instead of showing "Playing" ("Jogando" in Portuguese. My Discord is in Portuguese in the image above) show "Watching". Thanks for the app, amazing job <3

makesey commented 3 years ago

I don't think that is possible. Discord Rich Presence was made for games, and I think that "Playing" refers to playing a game and is a fixed value which can't be changed

Ma145 commented 3 years ago

unnamed (1) It might be possible to do something like the Deezer Discord Integration extension ? Github

apoapostolov commented 2 years ago

It is possible: https://www.codegrepper.com/code-examples/python/discord+rich+presence+python

phin05 commented 2 years ago

This is not possible using the allowed methods (RPC / GameSDK) provided by Discord for setting Rich Presence.

It can be done by sending Gateway Presence Updates directly to the Discord WebSocket Gateway, which is what that Deezer extension seems to be doing, but using the gateway in third-party applications for non-bot accounts would fall under self-botting which is forbidden by Discord.

phin05 commented 3 months ago

Discord allows changing the activity type now. Implemented in v2.8.0.