From ccfef7d9ba2e982a2b19ee3773d0690e3c877108 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sat, 16 Jul 2016 07:01:32 -0500 Subject: [PATCH] Fixed syntax error --- cogs/mod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/mod.py b/cogs/mod.py index 7690306..6345dcf 100644 --- a/cogs/mod.py +++ b/cogs/mod.py @@ -98,7 +98,7 @@ class Mod: command)) @perms.command(name="add", aliases=["setup,create"], pass_context=True, no_pm=True) - @commands.has_permissions("manage_server") + @commands.has_permissions(manage_server=True) async def add_perms(self, ctx, *msg: str): """Sets up custom permissions on the provided command Format must be 'perms add '""" @@ -152,7 +152,7 @@ class Mod: config.closeConnection() @perms.command(name="remove", aliases=["delete"], pass_context=True, no_pm=True) - @commands.has_permissions("manage_server") + @commands.has_permissions(manage_server=True) async def remove_perms(self, ctx, *command: str): """Removes the custom permissions on the command specified""" cmd = " ".join(command)