aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/core/help.py5
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."""