Fix multiple spaces in `.help -f` for modules without commands

pull/1/head
hikariatama 2022-07-13 20:26:10 +00:00
parent 3b18c068fb
commit 5dd942992e
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ class HelpMod(loader.Module):
core_.sort(key=lambda x: x.split()[1])
inline_.sort(key=lambda x: x.split()[1])
no_commands_.sort(key=lambda x: x.split()[1])
no_commands_ = "\n".join(no_commands_) if force else ""
no_commands_ = "".join(no_commands_) if force else ""
partial_load = (
f"\n\n{self.strings('partial_load')}"