aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/help.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py
index 459b108d..82708571 100644
--- a/discord/ext/commands/help.py
+++ b/discord/ext/commands/help.py
@@ -376,7 +376,7 @@ class HelpCommand:
cog: cog.get_commands()
for cog in bot.cogs.values()
}
- mapping[None] = [c for c in bot.all_commands.values() if c.cog is None]
+ mapping[None] = [c for c in bot.commands if c.cog is None]
return mapping
@property