mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Catch a useless exception
This commit is contained in:
parent
616164058b
commit
2f14c3ed30
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue