Update main.py

This commit is contained in:
Stefano Assenzo 2023-03-10 20:04:54 +01:00 committed by GitHub
parent 9894a6957c
commit 4e0e1c545f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -93,4 +93,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()