Reputation: 94
BTW I'm using rewrite version
Here is the code for original version, which seems not to work on rewrite
await bot.change_prescence(activity=discord.Game('sample text', type=2))
How do I make the bot status listening?
Upvotes: 1
Views: 2348
Reputation: 4225
Here are all possible Activities
# "Playing"
await bot.change_presence(activity=discord.Game(name="Game"))
# "Listening to"
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="Some Song"))
# "Watching"
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name="A movie"))
# "Streaming"
await bot.change_presence(activity=discord.Streaming(name="Drums on!", url="https://www.twitch.tv/the8bitdrummer"))
Upvotes: 3
Reputation: 2041
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="a song"))
Upvotes: 0