[commands] Fix Command duplicates in HelpCommand.get_bot_mapping

This commit is contained in:
Alex Nørgaard
2021-01-16 05:36:08 -05:00
committed by GitHub
parent 941e1efcb6
commit c72dbf28ba
+1 -1
View File
@@ -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