Answer the question
In order to leave comments, you need to log in
Why can't the Telebot register_next_step_handler module make a second conversation chain in Python's Telegram bot?
Good afternoon. I'm trying to write a bot for Telegram in the python Telebot module. To build a conversation chain, I used register_next_step_handler and it worked for me at first. But when I wanted to make a second conversation chain for the second key phrase, then flake and the interpreter started to swear. Please help me figure out what I'm doing wrong. My code is https://pastebin.com/EPwKnusS . flake throws an error: TokenError: EOF in multiline statement. Interpreter throws: bot.register_next_step_handler(message, process_lengthp)
SyntaxError: invalid syntax
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question