You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What version of pyTelegramBotAPI are you using? - 4.24.0
What OS are you using? - Win
What version of python are you using? - 3.12.4
I wrote a simple telegram bot that will give information when entering a certain command. In my script I used bot.infinity_polling(), but at some point it just stopped working.
The script starts,
All code work fine
and ... script closes, on bot.infinity_poling() line
Initially the script looked like this
# .... some shit codetry:
bot.infinity_polling()
finally:
# ... more shit code
If the program terminates in spte of "finally" - the problem is somewhere in your code. Nothing about infinity_polling here: it does not terminate program anyway.
Please answer these questions before submitting your issue. Thanks!
What version of pyTelegramBotAPI are you using? - 4.24.0
What OS are you using? - Win
What version of python are you using? - 3.12.4
I wrote a simple telegram bot that will give information when entering a certain command. In my script I used bot.infinity_polling(), but at some point it just stopped working.
The script starts,
All code work fine
and ... script closes, on bot.infinity_poling() line
Initially the script looked like this
Then:
I tried this:
Then i tried this:
Also a tried this:
I use python debugger, script stop working on bot.infinity_polling() line. The code below is not executed, the program simply terminates
The text was updated successfully, but these errors were encountered: