aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7440e1de..0b12df51 100644
--- a/discord/ext/commands/formatter.py
+++ b/discord/ext/commands/formatter.py
@@ -252,7 +252,7 @@ class HelpFormatter:
return True
try:
- return cmd.can_run(self.context)
+ return cmd.can_run(self.context) and self.context.bot.can_run(self.context)
except CommandError:
return False