From be3213dbd86c7713878a868ba168182f72ae9570 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Fri, 15 Jul 2016 09:58:39 -0500 Subject: [PATCH] Fixed syntax error --- cogs/mod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/mod.py b/cogs/mod.py index b86eb76..ffc54db 100644 --- a/cogs/mod.py +++ b/cogs/mod.py @@ -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: