mirror of https://github.com/stijndcl/didier
Catch a useless exception
parent
616164058b
commit
2f14c3ed30
|
@ -102,7 +102,7 @@ class Events(commands.Cog):
|
||||||
return
|
return
|
||||||
# Someone just mentioned Didier without calling a real command,
|
# Someone just mentioned Didier without calling a real command,
|
||||||
# don't care about this error
|
# 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
|
pass
|
||||||
# Someone used a command that was on cooldown
|
# Someone used a command that was on cooldown
|
||||||
elif isinstance(err, commands.CommandOnCooldown):
|
elif isinstance(err, commands.CommandOnCooldown):
|
||||||
|
|
Loading…
Reference in New Issue