[commands] Fix Command duplicates in HelpCommand.get_bot_mapping
This commit is contained in:
parent
941e1efcb6
commit
c72dbf28ba
@ -376,7 +376,7 @@ class HelpCommand:
|
|||||||
cog: cog.get_commands()
|
cog: cog.get_commands()
|
||||||
for cog in bot.cogs.values()
|
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
|
return mapping
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user