Reduce spacing in help pages

This commit is contained in:
Ske 2018-12-09 21:45:34 +01:00
parent 478f96770b
commit 2c528500aa

View File

@ -1,6 +1,5 @@
system_commands = """ system_commands = """
**System commands** **System commands**
``` ```
pk;system [system] pk;system [system]
pk;system new [system name pk;system new [system name
@ -15,7 +14,7 @@ pk;system [system] frontpercent
pk;link <other account> pk;link <other account>
pk;unlink pk;unlink
``` ```
""" """.strip()
member_commands = """ member_commands = """
**Member commands** **Member commands**
@ -35,7 +34,7 @@ pk;switch move <time to move>
pk;switch out pk;switch out
pk;switch delete pk;switch delete
``` ```
""" """.strip()
other_commands = """ other_commands = """
**Other commands** **Other commands**
@ -48,26 +47,21 @@ pk;export
pk;token pk;token
pk;token refresh pk;token refresh
``` ```
""" """.strip()
command_notes = """ command_notes = """
**Command notes** **Command notes**
Parameters in <angle brackets> are required, [square brackets] are optional . Parameters in <angle brackets> are required, [square brackets] are optional .
Member references can be a member ID or, for your own system, a member name. Member references can be a member ID or, for your own system, a member name.
Leaving an optional parameter blank will often clear the relevant value. Leaving an optional parameter blank will often clear the relevant value.
""" """.strip()
all_commands = """ all_commands = """
**All commands**
{} {}
{} {}
{} {}
{} {}
""".format(system_commands, member_commands, other_commands, command_notes) """.strip().format(system_commands, member_commands, other_commands, command_notes)
proxy_guide = """ proxy_guide = """
**Proxying** **Proxying**
@ -83,7 +77,7 @@ You can also use other symbols, letters, numbers, et cetera, as prefixes, suffix
**Notes** **Notes**
You can delete a proxied message by reacting to it with the :x: emoji from the sender's account. You can delete a proxied message by reacting to it with the :x: emoji from the sender's account.
""" """.strip()
root = """ root = """
**PluralKit** **PluralKit**
@ -100,4 +94,4 @@ To get started using the bot, try running the following commands.
For a full list of commands, type `pk;help commands`. For a full list of commands, type `pk;help commands`.
For a more in-depth explanation of proxying, type `pk;help proxy`. For a more in-depth explanation of proxying, type `pk;help proxy`.
If you're an existing user of the Tupperware proxy bot, type `pk;import` to import your data from there. If you're an existing user of the Tupperware proxy bot, type `pk;import` to import your data from there.
""" """.strip()