Discord.py: Change Status

Created on 22 Sep 2018  路  1Comment  路  Source: Rapptz/discord.py

I am using
client.change_presence(game=Game(name="Watching Tv"))
to change my status, but how to can i change the "Playing" part?
Since now its displaying "Playing Watching Tv"

question

>All comments

On the rewrite branch, you can use discord.ActivityType (with the Activity class).
Otherwise, you'll have to manually set discord.Game.type.
For those values, see:
https://github.com/Rapptz/discord.py/blob/8ef509883a2ea3d491bcce61750b4eae11770b3b/discord/enums.py#L221-L226

For future questions like this, you should join either the official discord.py server or the Discord API server for help, as the README recommends.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danshat picture danshat  路  3Comments

Nicba1010 picture Nicba1010  路  3Comments

TunaHobby picture TunaHobby  路  3Comments

tairabiteru picture tairabiteru  路  3Comments

Rimmy50 picture Rimmy50  路  3Comments