From 23602080ed77df47fd5e40cac17ab9bf911cab62 Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Wed, 2 Sep 2020 16:36:40 -0500 Subject: [PATCH] Don't show list of roles, in case it's too large --- cogs/roles.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cogs/roles.py b/cogs/roles.py index 588749b..463d98a 100644 --- a/cogs/roles.py +++ b/cogs/roles.py @@ -134,9 +134,7 @@ class Roles(commands.Cog): # This allows the user to remove multiple roles from the list of users, if they want. await ctx.send("Alright, please provide the roles you would like to remove from this member. " - "Make sure the roles, if more than one is provided, are separate by commas. " - "Here is a list of this server's roles:" - "```\n{}```".format("\n".join([r.name for r in server_roles]))) + "Make sure the roles, if more than one is provided, are separate by commas. ") try: msg = await ctx.bot.wait_for('message', check=check, timeout=60) except asyncio.TimeoutError: @@ -195,9 +193,7 @@ class Roles(commands.Cog): members = msg.mentions await ctx.send("Alright, please provide the roles you would like to add to this member. " - "Make sure the roles, if more than one is provided, are separate by commas. " - "Here is a list of this server's roles:" - "```\n{}```".format("\n".join([r.name for r in server_roles]))) + "Make sure the roles, if more than one is provided, are separate by commas. ") try: msg = await ctx.bot.wait_for('message', check=check, timeout=60) except asyncio.TimeoutError: