Compare commits

...

2 Commits

Author SHA1 Message Date
Stefano Assenzo 2b7665f8ad
Update main.py 2023-03-10 20:06:03 +01:00
Stefano Assenzo 4e0e1c545f
Update main.py 2023-03-10 20:04:54 +01:00
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ from dotenv import load_dotenv
from telebot import telebot
import threading
import datetime
import time
import schedule
import pymongo
import urllib
@ -93,4 +94,5 @@ now = datetime.datetime.now()
t1 = threading.Thread(target=bot.polling).start()
while True:
time.sleep(10)
schedule.run_pending()