1# Setting `Playing ` status
2await bot.change_presence(activity=discord.Game(name="a game"))
3
4# Setting `Streaming ` status
5await bot.change_presence(activity=discord.Streaming(name="My Stream", url=my_twitch_url))
6
7# Setting `Listening ` status
8await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="a song"))
9
10# Setting `Watching ` status
11await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name="a movie"))
1# Setting `Playing ` status
2await bot.change_presence(activity=discord.Game(name="a game"))
3
4# Setting `Streaming ` status
5await bot.change_presence(activity=discord.Streaming(name="My Stream", url=my_twitch_url))
6
7# Setting `Listening ` status
8await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="a song"))
9
10# Setting `Watching ` status
11await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name="a movie"))
12
1# Status to Online (The green one)
2await client.change_presence(status=discord.Status.online)
3
4# Status to Idle (The orange one)
5await client.change_presence(status=discord.Status.idle)
6
7# Status to Do not disturb (The red one)
8await client.change_presence(status=discord.Status.dnd)