Change the bots presence to listening to

This commit is contained in:
Luke Robles 2021-01-20 17:22:40 -08:00
parent 52eef45f3b
commit c502471407
No known key found for this signature in database
GPG Key ID: D70F99D67F488AF9

View File

@ -43,7 +43,7 @@ def generate_embed(embed_url=None, embed_title=None, embed_description=None, emb
async def on_ready(): async def on_ready():
print(f'{bot.user.name} has connected to Discord!') print(f'{bot.user.name} has connected to Discord!')
game = discord.Game("Type !help") game = discord.Game("Type !help")
await bot.change_presence(status=discord.Status.online, activity=game) await bot.change_presence(status=discord.Status.online, activity=discord.Activity(type=discord.ActivityType.listening, name="type !help"))
# @bot.event # @bot.event
# async def on_member_join(member): # async def on_member_join(member):