diff options
| author | Rapptz <[email protected]> | 2017-02-18 02:39:03 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-02-18 02:39:03 -0500 |
| commit | c6d26216a6888a7fa5813e6db9e432293ae18938 (patch) | |
| tree | 399c095ef18a282ae2391257fc4ed2bd25129139 | |
| parent | Fix NameError in GuildChannel.overwrites_for (diff) | |
| download | discord.py-c6d26216a6888a7fa5813e6db9e432293ae18938.tar.xz discord.py-c6d26216a6888a7fa5813e6db9e432293ae18938.zip | |
[commands] Fix bad logic in command list filtering.
| -rw-r--r-- | discord/ext/commands/formatter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/formatter.py b/discord/ext/commands/formatter.py index 820a2529..c0ac6781 100644 --- a/discord/ext/commands/formatter.py +++ b/discord/ext/commands/formatter.py @@ -266,7 +266,7 @@ class HelpFormatter: return False iterator = self.command.commands.items() if not self.is_cog() else self.context.bot.commands.items() - if not self.show_check_failure: + if self.show_check_failure: return filter(sane_no_suspension_point_predicate, iterator) # Gotta run every check and verify it |