Skip to content

Commit

Permalink
Merge pull request #1272 from DownDev/main
Browse files Browse the repository at this point in the history
Fix extra space in .help command signature
  • Loading branch information
wookie184 authored May 8, 2023
2 parents 56cefe8 + f499a89 commit 85fe0e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bot/exts/core/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,7 @@ def _get_command_params(self, cmd: Command) -> str:
# if required
else:
results.append(f"<{name}>")

return f"{cmd.qualified_name} {' '.join(results)}"
return " ".join([cmd.qualified_name, *results])

async def build_pages(self) -> None:
"""Builds the list of content pages to be paginated through in the help message, as a list of str."""
Expand Down

0 comments on commit 85fe0e0

Please sign in to comment.