kurisu.py: Use ArgumentParsingError instead of userInputError and send help for the command
@@ -242,8 +242,8 @@ class Kurisu(commands.Bot):
if isinstance(exc, commands.CommandNotFound):
return
- elif isinstance(exc, commands.UserInputError):
- await ctx.send(f'Invalid input.')
+ elif isinstance(exc, commands.ArgumentParsingError):
+ await ctx.send_help(ctx.command)
elif isinstance(exc, commands.NoPrivateMessage):
await ctx.send(f'`{command}` cannot be used in direct messages.')
