diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py index 459b108d1..82708571d 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