Answers for "how to set custom status for discord py bot"

7

discord py bot status

# Status to Online (The green one)
await client.change_presence(status=discord.Status.online)

# Status to Idle (The orange one)
await client.change_presence(status=discord.Status.idle)

# Status to Do not disturb (The red one)
await client.change_presence(status=discord.Status.dnd)
Posted by: Guest on January-13-2021

Code answers related to "how to set custom status for discord py bot"

Python Answers by Framework

Browse Popular Code Answers by Language