Answer the question
In order to leave comments, you need to log in
How to make the telegram bot restart on errors, python?
How to make the telegram bot restart on errors, python?
I use the pip pyTelegramBotAPI library
Answer the question
In order to leave comments, you need to log in
If I understood your question correctly, some unhandled error occurs in your program, as a result of which it "crashes" (ends) and you need to start it again. If so, then there are several options:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question