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 09:58:39 -05:00
parent 5ec8603dac
commit be3213dbd8

View file

@ -97,7 +97,7 @@ class Mod:
await self.bot.say("This command cannot have custom permissions setup!")
return
if getattr(discord.Permissions, permissions, None) is None && not permissions.lower() == "none":
if getattr(discord.Permissions, permissions, None) is None and not permissions.lower() == "none":
await self.bot.say("{} does not appear to be a valid permission! Valid permissions are: ```{}```"
.format(permissions, "\n".join(valid_perms)))
else: