Skip to content

Commit

Permalink
Start now shows help command
Browse files Browse the repository at this point in the history
  • Loading branch information
namboy94 committed Oct 3, 2019
1 parent a59570d commit 2b63dc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
V 0.31.1:
- Fixed minor issue when running uninitialized bot
- /start now shows help command
V 0.31.0:
- Added ways to make commands work only when authorized using decorators
V 0.30.0:
Expand Down
2 changes: 1 addition & 1 deletion kudubot/Bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def _handle_help_command(self, message: TextMessage) -> bool:
:param message: The message to check for a /help command
:return: Whether or not handling the message should continue
"""
if message.body.lower().strip() == "/help":
if message.body.lower().strip() in ["/help", "/start"]:

help_message = "Help message for:\n{} V{}\n(kudubot V{})\n\n"\
.format(self.name(), self.version(), kudubot_version)
Expand Down

0 comments on commit 2b63dc2

Please sign in to comment.