Added help command

This commit is contained in:
REDNBLACK 2016-11-10 10:42:52 +03:00
parent c199f8c6dc
commit 06645fbc4c
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ class CommandHandler(Handler):
self.allow_edited = allow_edited
self.commands = {
'start': self.__start_command,
'help': self.__help_command,
'ping': self.__ping_command,
'set_chance': self.__set_chance_command,
'get_chance': self.__get_chance_command,
@ -55,6 +56,9 @@ class CommandHandler(Handler):
def __start_command(self, update, args):
update.message.reply_text('Hi! :3')
def __help_command(self, update, args):
update.message.reply_text('There\'s currently nothing in there..')
def __ping_command(self, update, args):
update.message.reply_text('Echo')