Update main.py

This commit is contained in:
Stefano Assenzo 2023-03-11 18:33:05 +01:00 committed by GitHub
parent f336cffa60
commit 792be8591b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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("12:05").do(send_notification)
schedule.every().day.at("21:00").do(send_notification) schedule.every().day.at("21:00").do(send_notification)
now = datetime.datetime.now() now = datetime.datetime.now()
t1 = threading.Thread(target=bot.polling).start()
while True: while True:
time.sleep(10) time.sleep(10)