1
0
Fork 0
mirror of synced 2024-05-29 00:39:39 +12:00

Fixed syntax error

This commit is contained in:
Phxntxm 2016-07-15 08:56:36 -05:00
parent 2c9391643e
commit 65f1219fdb

View file

@ -86,7 +86,7 @@ class Mod:
@perms.command(name="add", aliases=["setup,create"], pass_context=True)
async def add_perms(self, ctx, command: str, permissions: str=None):
for checks in self.bot.commands.get(command).checks
for checks in self.bot.commands.get(command).checks:
if "isOwner" == checks.__name__:
await self.bot.say("This command cannot have custom permissions setup!")
return