From 4127ee9e590a02bef25b5cf325c810b688d956b3 Mon Sep 17 00:00:00 2001 From: Pika <15848969+ThatNerdyPikachu@users.noreply.github.com> Date: Fri, 8 Feb 2019 07:13:30 -0500 Subject: [PATCH] Clarify failed check message a bit (#13) * Update Robocop.py * Update Robocop.py --- Robocop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Robocop.py b/Robocop.py index d2e7067..10447c4 100755 --- a/Robocop.py +++ b/Robocop.py @@ -154,7 +154,8 @@ async def on_command_error(ctx, error): elif isinstance(error, commands.CheckFailure): return await ctx.send(f"{ctx.author.mention}: Check failed. " "You might not have the right permissions " - "to run this command.") + "to run this command, or you may not be able " + "to run this command in the current channel.") elif isinstance(error, commands.CommandInvokeError) and\ ("Cannot send messages to this user" in error_text): return await ctx.send(f"{ctx.author.mention}: I can't DM you.\n"