Catch a useless exception

pull/10/head
Stijn De Clercq 2020-11-13 10:27:50 +01:00
parent 616164058b
commit 2f14c3ed30
1 changed files with 1 additions and 1 deletions

View File

@ -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):