From 310212cd97c13883528f6d47a7a516be64ac072a Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Wed, 9 Jan 2019 10:35:45 +0000 Subject: [PATCH] More easily assign roles with spaces. --- plugin/role/role.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/role/role.py b/plugin/role/role.py index f2fe270..3690140 100644 --- a/plugin/role/role.py +++ b/plugin/role/role.py @@ -289,7 +289,7 @@ class Role(DBConnection): await bot.say(message.channel, 'role?') return - role = await self.find_role(message, args[0]) + role = await self.find_role(message, ' '.join(args)) if not role: return @@ -315,7 +315,7 @@ class Role(DBConnection): await bot.say(message.channel, 'role?') return - role = await self.find_role(message, args[0]) + role = await self.find_role(message, ' '.join(args)) if not role: return -- 2.7.4