mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Disable isme check on football cog
This commit is contained in:
parent
89fdc70813
commit
7fe2689db1
1 changed files with 1 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue