aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/error_handler.py
diff options
context:
space:
mode:
authorGravatar DerpDays <[email protected]>2018-10-14 21:58:01 +0100
committerGravatar GitHub <[email protected]>2018-10-14 21:58:01 +0100
commitba5c07b5c224992fe311c622e3efe6c67c44e0a6 (patch)
treee30d7ebe6d50b2a49372c2996c8e06be7468cb9f /bot/cogs/error_handler.py
parentFixed the PEP8 errors, ill add logging soon. (diff)
Forgot some commas
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 7d881617..e37e8272 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):