diff --git a/bot.py b/bot.py index 3cce080..9dd9306 100644 --- a/bot.py +++ b/bot.py @@ -16,7 +16,7 @@ opts = {'command_prefix': utils.command_prefix, 'description': utils.bot_description, 'pm_help': None, 'command_not_found': '', - 'game': discord.Game(name=utils.default_status, type=0)} + 'game': discord.Activity(name=utils.default_status, type=0)} bot = commands.AutoShardedBot(**opts) logging.basicConfig(level=logging.INFO, filename='bonfire.log') diff --git a/cogs/owner.py b/cogs/owner.py index 212466c..e39197e 100644 --- a/cogs/owner.py +++ b/cogs/owner.py @@ -268,7 +268,7 @@ class Owner: @commands.check(utils.is_owner) async def status(self, ctx, *, status: str): """Changes the bot's 'playing' status""" - await self.bot.change_presence(game=discord.Game(name=status, type=0)) + await self.bot.change_presence(activity=discord.Game(name=status, type=0)) await ctx.send("Just changed my status to '{}'!".format(status)) @commands.command()