From 4db64e0a269e4d1ab06e43c37ad221371d8feacf Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Thu, 10 Nov 2016 21:15:23 -0600 Subject: [PATCH] Made sure the game was a kwarg in the new status changing method --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index d83f98b..ffc3e74 100644 --- a/bot.py +++ b/bot.py @@ -25,7 +25,7 @@ logging.basicConfig(level=logging.INFO, filename='bonfire.log') @bot.event async def on_ready(): # Change the status upon connection to the default status - await bot.change_presence(discord.Game(name=config.default_status, type=0)) + await bot.change_presence(game=discord.Game(name=config.default_status, type=0)) if not hasattr(bot, 'uptime'): bot.uptime = pendulum.utcnow() @@ -119,7 +119,7 @@ async def on_command_error(error, ctx): if __name__ == '__main__': bot.remove_command('help') - + for e in config.extensions: bot.load_extension(e) bot.run(config.bot_token)