Browse Source
[commands] Fix Command duplicates in `HelpCommand.get_bot_mapping`
pull/6318/head
Alex Nørgaard
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|