From 6cb45a50d590d2f392a4ef3a0d24adecd31994da Mon Sep 17 00:00:00 2001 From: phxntxm Date: Thu, 4 Oct 2018 14:38:15 -0500 Subject: [PATCH] Correct activity update --- bot.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/bot.py b/bot.py index c3d6cbc..58f3a33 100644 --- a/bot.py +++ b/bot.py @@ -12,11 +12,13 @@ os.chdir(os.path.dirname(os.path.realpath(__file__))) from discord.ext import commands from cogs import utils -opts = {'command_prefix': utils.command_prefix, - 'description': utils.bot_description, - 'pm_help': None, - 'command_not_found': '', - 'game': discord.Activity(name=utils.default_status, type=0)} +opts = { + 'command_prefix': utils.command_prefix, + 'description': utils.bot_description, + 'pm_help': None, + 'command_not_found': '', + 'activity': discord.Activity(name=utils.default_status, type=0) +} bot = commands.AutoShardedBot(**opts) logging.basicConfig(level=logging.INFO, filename='bonfire.log')