Adding another exception case to the help command. Making it so that it's correctly formatted

pull/8/head
sgoudham 4 years ago
parent de15276946
commit 8622a7f63e

@ -391,6 +391,9 @@ class HelpPaginator(Pages):
if not isinstance(command, discord.ext.commands.Group):
if command.aliases:
aliases = " | ".join(command.aliases)
if command.usage:
self.title = f"{command.qualified_name} | {aliases} {command.signature}"
else:
self.title = f"{command.qualified_name} | {aliases} `{command.signature}`"
else:
self.title = f"{command.qualified_name} `{command.signature}`"

Loading…
Cancel
Save