Compare commits
4 Commits
f336cffa60
...
efa9348cfd
Author | SHA1 | Date |
---|---|---|
Stefano Assenzo | efa9348cfd | |
Stefano Assenzo | 660dfa283a | |
Stefano Assenzo | fb2df8c658 | |
Stefano Assenzo | 792be8591b |
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue