diff options
| author | 2020-05-23 12:17:39 +0200 | |
|---|---|---|
| committer | 2020-05-23 12:17:39 +0200 | |
| commit | fc1999ea80df2ebc904260ff0e6f56d9b36bc6c5 (patch) | |
| tree | f5b77b310c324935ed1d4d40c8ff1c13abae50a4 | |
| parent | Merge branch 'redis_persistence' of github.com:python-discord/bot into redis_... (diff) | |
Unbreak the error_handler
| -rw-r--r-- | bot/cogs/error_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/error_handler.py b/bot/cogs/error_handler.py index e635bd46f..77d16c051 100644 --- a/bot/cogs/error_handler.py +++ b/bot/cogs/error_handler.py @@ -167,7 +167,7 @@ class ErrorHandler(Cog): self.bot.stats.incr("errors.missing_required_argument") elif isinstance(e, errors.TooManyArguments): await ctx.send("Too many arguments provided.") - await ctx.invoke(*help_command) + await prepared_help_command self.bot.stats.incr("errors.too_many_arguments") elif isinstance(e, errors.BadArgument): await ctx.send(f"Bad argument: {e}\n") |