1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Added a roles command, to create roles on the fly

This commit is contained in:
Phxntxm 2016-07-31 10:29:29 -05:00
parent 9060738e35
commit de042becaa

View file

@ -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"""