From a06d6127f62cd1dd48086c9cd117f049aa3c77f2 Mon Sep 17 00:00:00 2001 From: Anubhav1603 Date: Sun, 6 Sep 2020 18:12:26 +0530 Subject: corrected index error and solve issue spam issue of wiki command --- bot/bot.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bot/bot.py') 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) -- cgit v1.2.3