diff --git a/geoffrey/bot.py b/geoffrey/bot.py index f0de364..f24f0a4 100644 --- a/geoffrey/bot.py +++ b/geoffrey/bot.py @@ -52,7 +52,7 @@ async def on_ready(): info = await bot.application_info() url = oauth_url(info.id) logger.info("Bot url: %s", url) - await bot.change_presence(game=Game(name=bot_config.status)) + await bot.change_presence(activity=Game(bot_config.status)) @bot.event diff --git a/geoffrey/cogs/Admin_Commands.py b/geoffrey/cogs/Admin_Commands.py index 71d3964..fdd2a5a 100644 --- a/geoffrey/cogs/Admin_Commands.py +++ b/geoffrey/cogs/Admin_Commands.py @@ -122,7 +122,7 @@ class Admin_Commands: """ Updates "playing [game]" status of the bot. """ - await self.bot.change_presence(game=Game(name=status)) + await self.bot.change_presence(activity=Game(status)) await self.bot.say('{}, status has been changed'.format(ctx.message.author.mention))