Compare commits
2 Commits
9894a6957c
...
2b7665f8ad
Author | SHA1 | Date |
---|---|---|
Stefano Assenzo | 2b7665f8ad | |
Stefano Assenzo | 4e0e1c545f |
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue