aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-02-18 02:39:03 -0500
committerRapptz <[email protected]>2017-02-18 02:39:03 -0500
commitc6d26216a6888a7fa5813e6db9e432293ae18938 (patch)
tree399c095ef18a282ae2391257fc4ed2bd25129139
parentFix NameError in GuildChannel.overwrites_for (diff)
downloaddiscord.py-c6d26216a6888a7fa5813e6db9e432293ae18938.tar.xz
discord.py-c6d26216a6888a7fa5813e6db9e432293ae18938.zip
[commands] Fix bad logic in command list filtering.
-rw-r--r--discord/ext/commands/formatter.py2
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