1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Fixed syntax error

This commit is contained in:
Phxntxm 2016-07-15 15:14:09 -05:00
parent c057eb4e8f
commit d6b0298f53

View file

@ -21,7 +21,7 @@ def customPermsOrRole(perm):
else:
for role in ctx.message.author.roles:
if getattr(role,perm):
return True:
return True
return False
return True
return commands.check(predicate)