From 792be8591b73aa3dce005fcce14d8341f3837760 Mon Sep 17 00:00:00 2001 From: Stefano Assenzo Date: Sat, 11 Mar 2023 18:33:05 +0100 Subject: [PATCH] Update main.py --- src/bot/telegram/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bot/telegram/main.py b/src/bot/telegram/main.py index 4fe5c94..1041dbc 100644 --- a/src/bot/telegram/main.py +++ b/src/bot/telegram/main.py @@ -91,6 +91,7 @@ schedule.every().day.at("11:05").do(send_notification) schedule.every().day.at("12:05").do(send_notification) schedule.every().day.at("21:00").do(send_notification) now = datetime.datetime.now() +t1 = threading.Thread(target=bot.polling).start() while True: time.sleep(10)