From 7fe2689db132e9cf0ea6bf0b81ea45190d63198c Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Tue, 26 Jan 2021 21:59:22 +0100 Subject: [PATCH] Disable isme check on football cog --- cogs/football.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cogs/football.py b/cogs/football.py index dc27334..4ad793e 100644 --- a/cogs/football.py +++ b/cogs/football.py @@ -11,7 +11,7 @@ class Football(commands.Cog): # Don't allow any commands to work when locked def cog_check(self, ctx): - return checks.isMe(ctx) and not self.client.locked + return not self.client.locked @commands.group(name="Jpl", case_insensitive=True, invoke_without_command=True) @commands.check(checks.allowedChannels) @@ -37,6 +37,5 @@ class Football(commands.Cog): await ctx.send(getTable()) - def setup(client): client.add_cog(Football(client))