fixing the bots status so they are active not idle

This commit is contained in:
ein 2021-01-08 13:17:56 -08:00
parent 19b8572e60
commit 8544f6457c

View File

@ -40,7 +40,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.idle, activity=game) await bot.change_presence(status=discord.Status.online, activity=game)
# @bot.event # @bot.event
# async def on_member_join(member): # async def on_member_join(member):