mirror of
https://github.com/assenzostefano/class-website.git
synced 2025-02-16 17:40:36 +01:00
Compare commits
2 Commits
9894a6957c
...
2b7665f8ad
Author | SHA1 | Date | |
---|---|---|---|
|
2b7665f8ad | ||
|
4e0e1c545f |
@ -3,6 +3,7 @@ from dotenv import load_dotenv
|
|||||||
from telebot import telebot
|
from telebot import telebot
|
||||||
import threading
|
import threading
|
||||||
import datetime
|
import datetime
|
||||||
|
import time
|
||||||
import schedule
|
import schedule
|
||||||
import pymongo
|
import pymongo
|
||||||
import urllib
|
import urllib
|
||||||
@ -93,4 +94,5 @@ now = datetime.datetime.now()
|
|||||||
t1 = threading.Thread(target=bot.polling).start()
|
t1 = threading.Thread(target=bot.polling).start()
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
time.sleep(10)
|
||||||
schedule.run_pending()
|
schedule.run_pending()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user