def __init__(self): info_command = command_handler.Command() info_command.keys = ['/course'] info_command.description = 'Покажу курс валют' info_command.process = Course.course_classic info_command = command_handler.Command() info_command.keys = ['/:'] info_command.description = 'Покажу курс указанной валюты. Формат команды /:[имя_валюты](usd, EUR и т.д.)' info_command.process = Course.course_pro
def __init__(self): info_command = command_handler.Command() info_command.keys = [ 'помощь', 'нужна помощь', 'помоги', 'help', 'я тупой' ] info_command.description = 'Покажу список команд' info_command.process = Info.info
def __init__(self): hello_command = command_handler.Command() hello_command.keys = [ 'привет', 'день добрый!', 'хай', 'вечер в хату', 'дороу', 'hello', 'хаюшки' ] # 6 hello_command.description = 'Поздороваюсь' hello_command.process = Hello.hello
def __init__(self): make_command = command_handler.Command() make_command.keys = ['/makeAlarm'] make_command.description = '/makeAlarm: создам напоминалку' make_command.process = Organizer.add_alarm show_command = command_handler.Command() show_command.keys = ['/showAlarm'] show_command.description = '/showAlarm: покажу текущую напоминалку' show_command.process = Organizer.show_alarms delete_command = command_handler.Command() delete_command.keys = ['/deleteAlarm'] delete_command.description = '/deleteAlarm [N] - удалю напоминалку с номером N' delete_command.process = Organizer.delete_alarms delete_all_command = command_handler.Command() delete_all_command.keys = ['/deleteAll'] delete_all_command.description = '/deleteAll - удалю все ваши напоминалки' delete_all_command.process = Organizer.delete_all
def __init__(self): game_command = command_handler.Command() game_command.keys = ['/game'] game_command.description = 'Поиграем в слова' game_command.process = GameChecker.game
def __init__(self): weather_command = command_handler.Command() weather_command.keys = ['/weather'] weather_command.description = 'Покажу погоду указанного города. (/weather минск)' weather_command.process = Weather.get_weather