diff options
| author | Alex Nørgaard <[email protected]> | 2021-01-16 10:36:08 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-16 05:36:08 -0500 |
| commit | c72dbf28baf46f0f575d143dbbce41caccbe0560 (patch) | |
| tree | cffaea6083e76c695bbf76daf6d51f53e98cb999 | |
| parent | PartialMessage.edit returns a full Message (diff) | |
| download | discord.py-c72dbf28baf46f0f575d143dbbce41caccbe0560.tar.xz discord.py-c72dbf28baf46f0f575d143dbbce41caccbe0560.zip | |
[commands] Fix Command duplicates in `HelpCommand.get_bot_mapping`
| -rw-r--r-- | discord/ext/commands/help.py | 2 |
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 |