From de042becaa6ae3fe5c86c4bfa204680d5301f0af Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 31 Jul 2016 10:29:29 -0500 Subject: [PATCH] Added a roles command, to create roles on the fly --- cogs/roles.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cogs/roles.py b/cogs/roles.py index b1b3138..0ab3810 100644 --- a/cogs/roles.py +++ b/cogs/roles.py @@ -9,8 +9,13 @@ class Roles: def __init__(self, bot): self.bot = bot - - @commands.command(name='create role', aliases=['add role'], pass_context=True) + + @commands.group(aliases='roles') + @checks.customPermsOrRole(manage_server=True) + async def role(self): + pass + + @role.command(name='create', aliases=['add'], pass_context=True) @checks.customPermsOrRole(manage_server=True) async def create_role(self, ctx): """This command can be used to create a new role for this server"""