Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #discord #py #bot #status
ADD COMMENT
Topic
Name
8+1 =