Answers for "how to change status of a discord bot discord.py"

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 change status of a discord bot discord.py"

Python Answers by Framework

Browse Popular Code Answers by Language