aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/error_handler.py
diff options
context:
space:
mode:
authorGravatar DerpDays <[email protected]>2018-10-14 22:10:28 +0100
committerGravatar GitHub <[email protected]>2018-10-14 22:10:28 +0100
commit7807eb7aeaffa25cb9601a655f545ee88c0ad185 (patch)
tree76f077665084247a71f1f4dd66d9465146966787 /bot/cogs/error_handler.py
parentForgot some commas (diff)
Ignore that last commit lol
Diffstat (limited to 'bot/cogs/error_handler.py')
-rw-r--r--bot/cogs/error_handler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/error_handler.py b/bot/cogs/error_handler.py
index e37e8272..268ed35a 100644
--- a/bot/cogs/error_handler.py
+++ b/bot/cogs/error_handler.py
@@ -17,12 +17,12 @@ class CommandErrorHandler:
return
if isinstance(error, commands.UserInputError):
return await ctx.send(
- ":no_entry: The command you specified failed to run.",
+ ":no_entry: The command you specified failed to run." +
"This is because the arguments you provided were invalid."
)
if isinstance(error, commands.CommandOnCooldown):
return await ctx.send(
- "This command is on cooldown,",
+ "This command is on cooldown," +
"please retry in {}s.".format(math.ceil(error.retry_after))
)
if isinstance(error, commands.DisabledCommand):