From 0cc123bdc237ee4509f2134cac7cd1a16e506cf0 Mon Sep 17 00:00:00 2001 From: Katya Demidova Date: Fri, 11 Nov 2016 20:43:39 +0300 Subject: [PATCH] Added help text to command_handler.py (#9) --- src/command_handler.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/command_handler.py b/src/command_handler.py index 4b5330a..a01495a 100644 --- a/src/command_handler.py +++ b/src/command_handler.py @@ -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')