From ec6e43eb2e214bb25605d4c9b4df83a20ec9ec47 Mon Sep 17 00:00:00 2001 From: TrustyJAID Date: Thu, 31 Aug 2023 17:00:23 -0600 Subject: [PATCH] Bold Syntax, move alias(es) outside the code block and bold --- redbot/core/commands/help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redbot/core/commands/help.py b/redbot/core/commands/help.py index 07c2b77baca..f96b96f74bf 100644 --- a/redbot/core/commands/help.py +++ b/redbot/core/commands/help.py @@ -349,7 +349,7 @@ async def format_command_help( signature = self.get_command_signature(ctx, command) aliases = command.aliases - sig_description = _("Syntax:\n") + box(signature) + "\n" + sig_description = bold(_("Syntax:\n")) + box(signature) if help_settings.show_aliases and aliases: alias_fmt = _("Aliases") if len(command.aliases) > 1 else _("Alias") aliases = sorted(aliases, key=len) @@ -379,7 +379,7 @@ async def format_command_help( aliases_content = _("{aliases} and one more alias.").format( aliases=aliases_formatted_list ) - sig_description += box(f"\n{alias_fmt}: {aliases_content}") + sig_description += bold(f"{alias_fmt}:") + box(f"{aliases_content}") subcommands = None if hasattr(command, "all_commands"):