From 5a38a63a9acd0ee7820816918473e873595b26e5 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 31 Jul 2016 15:04:51 -0500 Subject: [PATCH] Added the ability to remove a role from the server --- cogs/roles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/roles.py b/cogs/roles.py index 0fd7c29..a4e99d9 100644 --- a/cogs/roles.py +++ b/cogs/roles.py @@ -18,7 +18,7 @@ class Roles: @role.command(name='delete', aliases=['remove'], pass_context=True) @checks.customPermsOrRole(manage_server=True) - async def remove_role(self, ctx, role: discord.Role=None): + async def remove_role(self, ctx, *, role: discord.Role=None): """This command can be used to remove one of the roles from the server""" if role is None: server_roles = [role for role in ctx.message.server.roles if not role.is_everyone]