aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/core/help.py
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2023-05-08 19:43:32 +0100
committerGravatar GitHub <[email protected]>2023-05-08 19:43:32 +0100
commit85fe0e08f473fa07c6a50d7485c3234e123c780a (patch)
treea3fd0628680cf4e63c54c13eb18f6717846135ca /bot/exts/core/help.py
parentMerge pull request #1269 from shtlrs/load-cogs-when-config-is-setup (diff)
parentSimplify command params return (diff)
Merge pull request #1272 from DownDev/main
Fix extra space in .help command signature
Diffstat (limited to 'bot/exts/core/help.py')
-rw-r--r--bot/exts/core/help.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/core/help.py b/bot/exts/core/help.py
index 30deaff4..f86eb636 100644
--- a/bot/exts/core/help.py
+++ b/bot/exts/core/help.py
@@ -286,8 +286,7 @@ class HelpSession:
# 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."""