mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-26 03:44:56 +08:00
bot inactive: will this work?
This commit is contained in:
@@ -365,11 +365,4 @@ if __name__ == '__main__':
|
||||
scheduler = BackgroundScheduler()
|
||||
scheduler.add_job(reset_request, 'cron', hour=0, minute=0)
|
||||
scheduler.start()
|
||||
# this might work
|
||||
bot.infinity_polling()
|
||||
# while True:
|
||||
# try:
|
||||
# bot.polling(none_stop=True)
|
||||
# except Exception as e:
|
||||
# time.sleep(2)
|
||||
#
|
||||
bot.polling()
|
||||
Reference in New Issue
Block a user