diff options
| -rw-r--r-- | bot/cogs/error_handler.py | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/bot/cogs/error_handler.py b/bot/cogs/error_handler.py index ffb36d10a..5cf95e71a 100644 --- a/bot/cogs/error_handler.py +++ b/bot/cogs/error_handler.py @@ -116,6 +116,9 @@ class ErrorHandler(Cog):          if isinstance(e, errors.MissingRequiredArgument):              await ctx.send(f"Missing required argument `{e.param.name}`.")              await ctx.invoke(*help_command) +        elif isinstance(e, errors.TooManyArguments): +            await ctx.send(f"Too many arguments provided.") +            await ctx.invoke(*help_command)          elif isinstance(e, errors.BadArgument):              await ctx.send(f"Bad argument: {e}\n")              await ctx.invoke(*help_command) | 
