Compare commits

...

4 Commits

Author SHA1 Message Date
Stefano Assenzo efa9348cfd
Merge branch 'dev' of https://github.com/assenzostefano/class-website into dev 2023-03-11 18:04:40 +00:00
Stefano Assenzo 660dfa283a
So now? 2023-03-11 18:04:16 +00:00
Stefano Assenzo fb2df8c658
Update main.py 2023-03-11 19:03:41 +01:00
Stefano Assenzo 792be8591b
Update main.py 2023-03-11 18:33:05 +01:00
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
from bson.objectid import ObjectId from bson.objectid import ObjectId
from dotenv import load_dotenv from dotenv import load_dotenv
from telebot import telebot from telebot import telebot
import threading import time
import datetime import datetime
import time import time
import schedule import schedule
@ -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)