diff --git a/forums/forums.py b/forums/forums.py index e07dc0a..f0c3716 100644 --- a/forums/forums.py +++ b/forums/forums.py @@ -101,9 +101,9 @@ class Forums(commands.Cog): if role_obj: already_in_list.append(role_obj.mention) split_content = ctx.message.content.split() - command = split_content[:2] + command = ' '.join(split_content[:2]) if already_in_list: - await ctx.send("Roles already in the allowed roles list:\n" + "\n".join(already_in_list) + f"\nUse `{command} add` to add roles to this list.\nUse `{command} role remove` to remove roles from this list.", allowed_mentions=discord.AllowedMentions(roles=False)) + await ctx.send("Roles already in the allowed roles list:\n" + "\n".join(already_in_list) + f"\nUse `{command} add` to add roles to this list.\nUse `{command} remove` to remove roles from this list.", allowed_mentions=discord.AllowedMentions(roles=False)) else: await ctx.send(f"No roles are currently in the allowed roles list.\nUse `{command} add` to add some!")