aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar Anubhav1603 <[email protected]>2020-09-06 18:12:26 +0530
committerGravatar Anubhav1603 <[email protected]>2020-09-06 18:12:26 +0530
commita06d6127f62cd1dd48086c9cd117f049aa3c77f2 (patch)
treec09adf8b9478c1f633d994b001d3f48d0a0a4ceb /bot/bot.py
parentcorrected indexing problem (diff)
corrected index error and solve issue spam issue of wiki command
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/bot.py b/bot/bot.py
index ffaf4284..b94013bc 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -69,6 +69,7 @@ class SeasonalBot(commands.Bot):
"""Check command errors for UserInputError and reset the cooldown if thrown."""
if isinstance(exception, commands.UserInputError):
context.command.reset_cooldown(context)
+
else:
await super().on_command_error(context, exception)