From e97c50edfe61ca7263e6cbcc0508fbc7ebc3658b Mon Sep 17 00:00:00 2001 From: phxntxm Date: Mon, 1 Jan 2018 18:10:57 -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 a22a258..8dfc36e 100644 --- a/cogs/roles.py +++ b/cogs/roles.py @@ -51,7 +51,7 @@ class Roles: "name": name, "colour": role_colour } - await ctx.guild.create_role(**opts) + role = await ctx.guild.create_role(**opts) # Now add the role await ctx.author.add_roles(role)