From c72dbf28baf46f0f575d143dbbce41caccbe0560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20N=C3=B8rgaard?= Date: Sat, 16 Jan 2021 10:36:08 +0000 Subject: [PATCH] [commands] Fix Command duplicates in `HelpCommand.get_bot_mapping` --- discord/ext/commands/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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