авыа ыва ыва. Diplomnaya.Rabota._цуеуцеыы1_ — копия. ЫНаучный руководитель ученая степень, должность
Скачать 1.57 Mb.
|
return def onfirst2(e): keyboard = utils.select_keyboard("yes-no-maybe") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 2, 'question'), reply_markup=keyboard) def onfirst2_yes(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 2, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onfirst2_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 3, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onfirst3(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 3, 'question'), reply_markup=keyboard) def onfirst3_yes(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 3, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onfirst4(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 4, 'question'), reply_markup=keyboard) def onfirst4_yes(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 3, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onfirst5(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 5, 'question'), reply_markup=keyboard) def onfirst5_yes(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 3, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onfirst6(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 6, 'question'), reply_markup=keyboard) def onfirst6_yes(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 3, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onfirst6_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 4, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onsecond1(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 1, 'question'), reply_markup=keyboard) def onsecond2(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 2, 'question'), reply_markup=keyboard) def onsecond3(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 3, 'question'), reply_markup=keyboard) def onsecond4(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 4, 'question'), reply_markup=keyboard) def onsecond5(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 5, 'question'), reply_markup=keyboard) def onsecond6(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 6, 'question'), reply_markup=keyboard) def onsecond7(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 7, 'question'), reply_markup=keyboard) def onsecond8(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 8, 'question'), reply_markup=keyboard) def onsecond9(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 9, 'question'), reply_markup=keyboard) def onsecond10(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 10, 'question'), reply_markup=keyboard) def onsecond10_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 1, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onpartnership(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 11, 'question'), reply_markup=keyboard) def onpartnership1(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 12, 'question'), reply_markup=keyboard) def onpartnership2(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 13, 'question'), reply_markup=keyboard) def onpartnership3(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 14, 'question'), reply_markup=keyboard) def onpartnership4(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 15, 'question'), reply_markup=keyboard) def onpartnership5(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 16, 'question'), reply_markup=keyboard) def onpartnership6(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 17, 'question'), reply_markup=keyboard) def onpartnership7(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 18, 'question'), reply_markup=keyboard) def onpartnership8(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 19, 'question'), reply_markup=keyboard) def onpartnership9(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 20, 'question'), reply_markup=keyboard) def onpartnership9_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 2, 'answer')) if fsm.current in finals: fsm.go_to_start() return def ontradename(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 21, 'question'), reply_markup=keyboard) def ontradename1(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 22, 'question'), reply_markup=keyboard) def ontradename1_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 3, 'answer')) if fsm.current in finals: fsm.go_to_start() return def ontradename2(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 23, 'question'), reply_markup=keyboard) def ontradename2_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 3, 'answer')) if fsm.current in finals: fsm.go_to_start() return def ontradename3(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 24, 'question'), reply_markup=keyboard) def ontradename3_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 4, 'answer')) if fsm.current in finals: fsm.go_to_start() return def ontradename3_yes(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(section_number, 5, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onthird1(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 1, 'question'), reply_markup=keyboard) def onthird1_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 1, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onthird2(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 2, 'question'), reply_markup=keyboard) def onthird2_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 2, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onthird3(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 3, 'question'), reply_markup=keyboard) def onthird3_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 3, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onthird4(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 4, 'question'), reply_markup=keyboard) def onthird5(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 5, 'question'), reply_markup=keyboard) def onthird6(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 6, 'question'), reply_markup=keyboard) def onthird7(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 7, 'question'), reply_markup=keyboard) def onthird8(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 8, 'question'), reply_markup=keyboard) def onthird9(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 9, 'question'), reply_markup=keyboard) def onthird10(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 10, 'question'), reply_markup=keyboard) def onthird11(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 11, 'question'), reply_markup=keyboard) def onthird12(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 12, 'question'), reply_markup=keyboard) def onthird13(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 13, 'question'), reply_markup=keyboard) def onthird14(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 14, 'question'), reply_markup=keyboard) def onthird15(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 15, 'question'), reply_markup=keyboard) def onthird16(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 16, 'question'), reply_markup=keyboard) def onthird17(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 4, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onthird_4_16_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(3, 5, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onfourth1(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 1, 'question'), reply_markup=keyboard) def onfourth1_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 1, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onfourth2(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 2, 'question'), reply_markup=keyboard) def onfourth2_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 1, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onfourth3(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 3, 'question'), reply_markup=keyboard) def onfourth3_no(e): bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 2, 'answer')) if fsm.current in finals: fsm.go_to_start() return def onfourth4(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 4, 'question'), reply_markup=keyboard) def onfourth5(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 5, 'question'), reply_markup=keyboard) def onfourth6(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 6, 'question'), reply_markup=keyboard) def onfourth7(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 7, 'question'), reply_markup=keyboard) def onfourth8(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 8, 'question'), reply_markup=keyboard) def onfourth9(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 9, 'question'), reply_markup=keyboard) def onfourth10(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 10, 'question'), reply_markup=keyboard) def onfourth11(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 11, 'question'), reply_markup=keyboard) def onfourth12(e): keyboard = utils.select_keyboard("yes-no") bot.send_message(chat_id=chat_id, text=response_storage.select_message(4, 12, 'question'), reply_markup=keyboard) |