Discord Bot Status Python

[Solved] Discord Bot Status Python | Python - Code Explorer | yomemimo.com
Question : discord bot status python

Answered by : dylan-barrett

# Setting `Playing ` status
await bot.change_presence(activity=discord.Game(name="a game"))
# Setting `Streaming ` status
await bot.change_presence(activity=discord.Streaming(name="My Stream", url=my_twitch_url))
# Setting `Listening ` status
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="a song"))
# Setting `Watching ` status
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name="a movie"))

Source : https://stackoverflow.com/questions/59126137/how-to-change-discord-py-bot-status | Last Update : Fri, 22 May 20

Question : discord py bot status

Answered by : lochie

# 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 : | Last Update : Wed, 20 Jan 21

Answers related to discord bot status python

Code Explorer Popular Question For Python