None
This commit is contained in:
parent
bec8b109cf
commit
498463b00e
4
main.py
4
main.py
@ -2,11 +2,11 @@ from telegram.ext import Updater
|
||||
from config import TOKEN
|
||||
from func import start_handler, chat_content_handler, check_schedule
|
||||
import schedule
|
||||
import task
|
||||
from task import do_task
|
||||
import threading
|
||||
|
||||
# schedule.every().day.at('16:20').do(task).tag('task')
|
||||
schedule.every(1).minutes.do(task).tag('task')
|
||||
schedule.every(1).minutes.do(do_task).tag('task')
|
||||
|
||||
threading.Thread(target=check_schedule).start()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user