From 8db428019ff0bf61997d6d24c106ad141fdce8cb Mon Sep 17 00:00:00 2001 From: Etzelia Date: Wed, 29 Aug 2018 11:20:00 -0500 Subject: [PATCH] Update change_presence Discord.py updated their method to use an activity instead. Based on their example, this should work. --- geoffrey/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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