Skip to content

Commit

Permalink
Bold Syntax, move alias(es) outside the code block and bold
Browse files Browse the repository at this point in the history
  • Loading branch information
TrustyJAID committed Aug 31, 2023
1 parent ffe947e commit ec6e43e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redbot/core/commands/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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"):
Expand Down

0 comments on commit ec6e43e

Please sign in to comment.