diff options
author | 2023-05-07 19:51:45 +0200 | |
---|---|---|
committer | 2023-05-07 19:54:26 +0200 | |
commit | 9d3b1f14cd3750a4c7fb3434d961674a3f5d451f (patch) | |
tree | ee881dfa5be4c2d917a0e74eb212c36464b015c9 /bot/exts/core/help.py | |
parent | Merge pull request #1269 from shtlrs/load-cogs-when-config-is-setup (diff) |
Fix extra space in .help command signature
Diffstat (limited to 'bot/exts/core/help.py')
-rw-r--r-- | bot/exts/core/help.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/exts/core/help.py b/bot/exts/core/help.py index 30deaff4..bac391b5 100644 --- a/bot/exts/core/help.py +++ b/bot/exts/core/help.py @@ -286,8 +286,9 @@ class HelpSession: # if required else: results.append(f"<{name}>") - - return f"{cmd.qualified_name} {' '.join(results)}" + if results: + return f"{cmd.qualified_name} {' '.join(results)}" + return cmd.qualified_name 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.""" |