Add help command
This commit is contained in:
parent
5131c4a3c1
commit
7cf006cd4f
@ -255,9 +255,19 @@ class GameManager:
|
|||||||
return await self.message.channel.send(message)
|
return await self.message.channel.send(message)
|
||||||
|
|
||||||
async def help(self):
|
async def help(self):
|
||||||
"""help command"""
|
"""help command - Sends a DM to the requesting user with available commands"""
|
||||||
# TODO: Add help message
|
|
||||||
help_message = "help"
|
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)
|
recipient = await self.discord.fetch_user(self.message.author.id)
|
||||||
await recipient.send(help_message)
|
await recipient.send(help_message)
|
||||||
|
Loading…
Reference in New Issue
Block a user