From 31becc81258621cbbb8b184fa115ce19cf0cbd74 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 26 Jul 2020 09:38:23 +0100 Subject: [PATCH] Checking if the command has a usage and a signature --- cogs/help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/help.py b/cogs/help.py index d59cc460..800a4e0f 100644 --- a/cogs/help.py +++ b/cogs/help.py @@ -391,9 +391,9 @@ class HelpPaginator(Pages): if not isinstance(command, discord.ext.commands.Group): if command.aliases: aliases = " | ".join(command.aliases) - if command.usage: + if command.usage and command.signature: self.title = f"{command.qualified_name} | {aliases} {command.signature}" - elif not command.usage: + else: self.title = f"{command.qualified_name} | {aliases} `{command.signature}`" else: self.title = f"{command.qualified_name} `{command.signature}`"