diff options
| author | 2023-05-08 19:00:50 +0200 | |
|---|---|---|
| committer | 2023-05-08 19:00:50 +0200 | |
| commit | f499a89982a63f97d8221b0abf9d4fa313deb438 (patch) | |
| tree | a3fd0628680cf4e63c54c13eb18f6717846135ca | |
| parent | Fix extra space in .help command signature (diff) | |
Simplify command params return
| -rw-r--r-- | bot/exts/core/help.py | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/bot/exts/core/help.py b/bot/exts/core/help.py index bac391b5..f86eb636 100644 --- a/bot/exts/core/help.py +++ b/bot/exts/core/help.py @@ -286,9 +286,7 @@ class HelpSession:              # if required              else:                  results.append(f"<{name}>") -        if results: -            return f"{cmd.qualified_name} {' '.join(results)}" -        return cmd.qualified_name +        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.""" | 
