From 490cb68dae512a471c8658c2b296fae1f482bca9 Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 20 Nov 2017 06:05:08 -0500 Subject: [PATCH] Changed to use intrinsic boolean value of None types --- src/main/cogs/owner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/cogs/owner.py b/src/main/cogs/owner.py index a3381fa..bb619d1 100644 --- a/src/main/cogs/owner.py +++ b/src/main/cogs/owner.py @@ -71,8 +71,8 @@ class Bot: @commands.command(name=',status', aliases=[',presence', ',game'], hidden=True) @commands.is_owner() - async def status(self, ctx, *, game=None): - if game is not None: + async def change_status(self, ctx, *, game=None): + if game: await self.bot.change_presence(game=d.Game(name=game)) u.config['playing'] = game u.dump(u.config, 'config.json', json=True)