1
0
Fork 0
mirror of synced 2024-06-26 10:10:44 +12:00

Fixed syntax error

This commit is contained in:
Phxntxm 2016-07-16 12:30:58 -05:00
parent 686918fb80
commit 44af503a69

View file

@ -121,7 +121,7 @@ class Mod:
await self.bot.say("Checking for owner role commands, or commands that don't allow customer permissions")
for check in cmd.checks:
if "isOwner" == check.__name__ or "has_permissions" == re.search("has_permissions",str(check)).group(0):
if "isOwner" == check.__name__ or re.search("has_permissions",str(check)) is not None:
await self.bot.say("This command cannot have custom permissions setup!")
return