update error handling for unexpected quote errors
@@ -141,7 +141,7 @@ class Events(commands.Cog):
await self.bot.send(ctx, ctx.l.misc.errors.concurrency)
elif isinstance(e, commands.MissingRequiredArgument):
await self.bot.send(ctx, ctx.l.misc.errors.missing_arg)
- elif isinstance(e, commands.BadArgument) or isinstance(e, commands.errors.ExpectedClosingQuoteError) or isinstance(e, commands.errors.BadUnionArgument):
+ elif isinstance(e, (commands.BadArgument, commands.errors.UnexpectedQuoteError, commands.errors.ExpectedClosingQuoteError, commands.errors.BadUnionArgument)):
await self.bot.send(ctx, ctx.l.misc.errors.bad_arg)
elif ctx.__dict__.get('custom_err') == 'not_ready':
await self.bot.send(ctx, ctx.l.misc.errors.not_ready)
