From a732f4e8e29570699051ae72c0bc403d47874dd0 Mon Sep 17 00:00:00 2001 From: Myned Date: Thu, 14 Jun 2018 21:16:54 -0400 Subject: [PATCH] Fix for discord.py upgrade --- src/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run.py b/src/run.py index e6964ff..dd44690 100644 --- a/src/run.py +++ b/src/run.py @@ -82,7 +82,7 @@ async def on_ready(): # bot.loop.create_task(u.clear(booru.temp_urls, 30*60)) if u.config['playing'] is not '': - await bot.change_presence(game=d.Game(name=u.config['playing'])) + await bot.change_presence(activity=d.Game(name=u.config['playing'])) print('\n> > > > > > > > >\nC O N N E C T E D : {}\n> > > > > > > > >\n'.format(bot.user.name)) await bot.get_channel(u.config['info_channel']).send(f'**Started** \N{BLACK SUN WITH RAYS} `{"` or `".join(u.config["prefix"])}`')