Added help text to command_handler.py (#9)

This commit is contained in:
Katya Demidova 2016-11-11 20:43:39 +03:00 committed by GitHub
parent ffd8c11971
commit 0cc123bdc2
1 changed files with 5 additions and 1 deletions

View File

@ -59,7 +59,11 @@ class CommandHandler(Handler):
update.message.reply_text('Hi! :3')
def __help_command(self, update, args):
update.message.reply_text('There\'s currently nothing in there..')
update.message.reply_text("""Available commands:
/ping,
/get_stats: get information on how many pairs are known by ImaginaryFriend,
/set_chance: set the probability that ImaginaryFriend would reply to a random message (must be in range 1-50, default: 5),
/get_chance: get current probability that ImaginaryFriend would reply to a message.')"""
def __ping_command(self, update, args):
update.message.reply_text('Echo')