aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/help.py
diff options
context:
space:
mode:
authorBenjamin Mintz <[email protected]>2019-05-08 01:15:15 +0000
committerRapptz <[email protected]>2019-05-09 06:11:21 -0400
commit0a0c43321b58588daa54c1faad00b5aa64dd058f (patch)
treef75a1bc85494632b33e3459d4abe6bde99168454 /discord/ext/commands/help.py
parentTightended the constraints of Spotify.__eq__. (diff)
downloaddiscord.py-0a0c43321b58588daa54c1faad00b5aa64dd058f.tar.xz
discord.py-0a0c43321b58588daa54c1faad00b5aa64dd058f.zip
[commands] MinimalHelpCommand: add cog description
Diffstat (limited to 'discord/ext/commands/help.py')
-rw-r--r--discord/ext/commands/help.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py
index 7a3b7e23..332f4aff 100644
--- a/discord/ext/commands/help.py
+++ b/discord/ext/commands/help.py
@@ -1222,6 +1222,9 @@ class MinimalHelpCommand(HelpCommand):
if note:
self.paginator.add_line(note, empty=True)
+ if cog.description:
+ self.paginator.add_line(cog.description, empty=True)
+
filtered = await self.filter_commands(cog.get_commands(), sort=self.sort_commands)
if filtered:
self.paginator.add_line('**%s %s**' % (cog.qualified_name, self.commands_heading))