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