Add help command

This commit is contained in:
c0de 2022-11-10 21:58:55 -06:00
parent 5131c4a3c1
commit 7cf006cd4f
1 changed files with 13 additions and 3 deletions

View File

@ -255,9 +255,19 @@ class GameManager:
return await self.message.channel.send(message)
async def help(self):
"""help command"""
# TODO: Add help message
help_message = "help"
"""help command - Sends a DM to the requesting user with available commands"""
help_message = (
"Braveball commands\n"
+ "!braveball - Start new game\n"
+ "!guess - While a game is running, add a guess"
+ " (or update an existing one) from 1-1000\n"
+ "!resolve <value> - 1-1000 to resolve the game\n"
+ " You can also add a batter's guess with: "
+ "!resolve <value> <discord id #> <guess>\n"
+ "!points - Shows a table of the most recent players, and their scores\n"
+ "!help - Shows this message"
)
recipient = await self.discord.fetch_user(self.message.author.id)
await recipient.send(help_message)