From a6d0d507d93a426868d4b9ad6839cce84619c2e0 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Mon, 1 Jan 2018 18:09:10 -0600 Subject: [PATCH] Add a command to control colours used --- cogs/roles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/roles.py b/cogs/roles.py index 7472610..a22a258 100644 --- a/cogs/roles.py +++ b/cogs/roles.py @@ -43,7 +43,7 @@ class Roles: # The colour roles they currently have, we need to remove them if they want a new colour old_roles = [r for r in ctx.author.roles if re.match(r'Bonfire #[0-9a-zA-Z]+', r.name)] if old_roles: - await ctx.author.remove_roles(old_roles) + await ctx.author.remove_roles(*old_roles) # If the role doesn't exist, we need to create it if not role: