disabled help hideaways (#2892)

* disabled help hideaways

* can_see fix
This commit is contained in:
Michael H
2019-07-27 02:36:21 -04:00
committed by GitHub
parent af096bc1cc
commit 6280fd9c28
5 changed files with 8 additions and 6 deletions

View File

@@ -328,7 +328,7 @@ class Command(CogCommandMixin, commands.Command):
can_run = await self.can_run(
ctx, check_all_parents=True, change_permission_state=False
)
except commands.CheckFailure:
except (commands.CheckFailure, commands.errors.DisabledCommand):
return False
else:
if can_run is False: