mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
[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()
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user