From 2f14c3ed3052824be302464022d450557916ef97 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Fri, 13 Nov 2020 10:27:50 +0100 Subject: [PATCH] Catch a useless exception --- cogs/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/events.py b/cogs/events.py index e9ca378..8811963 100644 --- a/cogs/events.py +++ b/cogs/events.py @@ -102,7 +102,7 @@ class Events(commands.Cog): return # Someone just mentioned Didier without calling a real command, # don't care about this error - if isinstance(err, (commands.CommandNotFound, commands.CheckFailure, commands.TooManyArguments), ): + if isinstance(err, (commands.CommandNotFound, commands.CheckFailure, commands.TooManyArguments, commands.ExpectedClosingQuoteError), ): pass # Someone used a command that was on cooldown elif isinstance(err, commands.CommandOnCooldown):