
Python
1
Вклад в тег
bot.polling(none_stop=True)
на bot.infinity_polling(True)
if __name__ == '__main__':
while True:
try:
bot.polling(none_stop=True)
except Exception as e:
time.sleep(3)
print(e)