Added command notes to member help output

This commit is contained in:
Bella | Nightshade 2019-03-25 06:04:17 +09:30
parent 6d557d3e96
commit 26d008f27a
2 changed files with 10 additions and 10 deletions

View file

@ -121,7 +121,7 @@ async def pkthunder(ctx: CommandContext):
await ctx.message.channel.send("*A giant ball of lightning is conjured and fired directly at your opponent, vanquishing them.*") await ctx.message.channel.send("*A giant ball of lightning is conjured and fired directly at your opponent, vanquishing them.*")
async def pkfreeze(ctx: CommandContext): async def pkfreeze(ctx: CommandContext):
await ctx.message.channel.send("A giant crystal ball of ice is charged and hurled toward your opponent, bursting open and freezing them solid on contact. ") await ctx.message.channel.send("*A giant crystal ball of ice is charged and hurled toward your opponent, bursting open and freezing them solid on contact.*")
async def pkstarstorm(ctx: CommandContext): async def pkstarstorm(ctx: CommandContext):
await ctx.message.channel.send("*Vibrant colours burst forth from the sky as meteors rain down upon your opponent.*") await ctx.message.channel.send("*Vibrant colours burst forth from the sky as meteors rain down upon your opponent.*")

View file

@ -1,3 +1,10 @@
command_notes = """
__**Command notes**__
Parameters in <angle brackets> are required, [square brackets] are optional. **Do not include the brackets themselves when using the command.**
Member references can be a member ID or, for your own system, a member name. **If a member name contains spaces, it must be wrapped in "quotation marks" when being referenced (but not during creation).**
Leaving an optional parameter blank will often clear the relevant value.
""".strip()
system_commands = """ system_commands = """
__**System commands**__ __**System commands**__
Commands for adding, removing, editing, and linking systems, as well as querying fronter and front history. Commands for adding, removing, editing, and linking systems, as well as querying fronter and front history.
@ -38,8 +45,8 @@ pk;switch move <time to move>
pk;switch out pk;switch out
pk;switch delete pk;switch delete
``` ```
**Please bear in mind that your avatar image has to have 1 dimension 1024 pixels or less, i.e. 1024x2000 or 2500x1024, and be 1 MB or less in size otherwise it will not stick!** **Please bear in mind that your avatar image has to have 1 dimension 1024 pixels or less, i.e. 1024x2000 or 2500x1024, and be 1 MB or less in size otherwise it will not stick!**\n\n{}
""".strip() """.strip().format(command_notes)
help_commands = """ help_commands = """
__**Help commands**__ __**Help commands**__
@ -64,13 +71,6 @@ pk;token refresh
``` ```
""".strip() """.strip()
command_notes = """
__**Command notes**__
Parameters in <angle brackets> are required, [square brackets] are optional. **Do not include the brackets themselves when using the command.**
Member references can be a member ID or, for your own system, a member name. **If a member name contains spaces, it must be wrapped in "quotation marks" when being referenced (but not during creation).**
Leaving an optional parameter blank will often clear the relevant value.
""".strip()
all_commands = """ all_commands = """
{} {}
{} {}