From f138c2a986aadee174cbb3aae9c54004a66bf131 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 31 Jul 2016 10:49:34 -0500 Subject: [PATCH] Added a roles command, to create roles on the fly --- cogs/roles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/roles.py b/cogs/roles.py index 7fb5669..1cb1f47 100644 --- a/cogs/roles.py +++ b/cogs/roles.py @@ -84,7 +84,7 @@ class Roles: 'hoist': hoist, 'mentionable': mentionable } - role = await self.bot.create_role(server, payload) + role = await self.bot.create_role(server, **payload) await self.bot.say("We did it! You just created the new role {}".format(role.name)) def setup(bot):