[commands] Fix bad logic in command list filtering.
This commit is contained in:
parent
54f297c24f
commit
c6d26216a6
@ -266,7 +266,7 @@ class HelpFormatter:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
iterator = self.command.commands.items() if not self.is_cog() else self.context.bot.commands.items()
|
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)
|
return filter(sane_no_suspension_point_predicate, iterator)
|
||||||
|
|
||||||
# Gotta run every check and verify it
|
# Gotta run every check and verify it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user