qwertyquerty / pypresence

A complete Discord IPC and Rich Presence wrapper library in Python!
https://qwertyquerty.github.io/pypresence/html/index.html
MIT License
652 stars 75 forks source link

Is there a way to change the activity type to something like listening to or so ? #198

Closed Luke1505 closed 1 year ago

Luke1505 commented 1 year ago

i would like to use this to make a listening to application , is there a way to do so ?

Hunter2809 commented 1 year ago

Lemme answer this question the Discord way:

"Well yeah... we have already implemented such a thing in our API but we can't be bothered with fixing the issue due to which it doesn't work"

Luke1505 commented 1 year ago

damn , but why does it works for spotify then ?

AirplanegoBrr commented 1 year ago

Discord has given their app special perms cus its stupid

But discord bots can change their status to listening!

This is true, bots can change their status to listening but users cannot.

I'm not really sure why this is but its just how it is

TheSpookyCat commented 1 year ago

Even if we try to send a different activity type Discord just ignores it for one reason or another ¯_(ツ)_/¯

Always happy to support it if you can push Discord to first :P

TheRadziu commented 1 year ago

Its been a while, perhaps they fixed it? You can set rpc activity to listening to via vencord plugin just fine

yuckdevchan commented 10 months ago

Even if we try to send a different activity type Discord just ignores it for one reason or another ¯(ツ)

Always happy to support it if you can push Discord to first :P

It looks like they now may support it for users. I found this bit of documentation from Discord themselves:

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

TheSpookyCat commented 10 months ago

It looks like they now may support it for users. I found this bit of documentation from Discord themselves:

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

From 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.

If the situation changes in the future then a PR to address the change should be made. Please forward any requests for this feature to the relevant and official Discord site(s).