mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-04 03:24:50 +00:00
update
This commit is contained in:
parent
1def3cae1b
commit
a6575d34bc
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ async def start_bot():
|
|||
chat_id, message_id = pickle.load(status)
|
||||
os.remove("restart.pickle")
|
||||
await app.edit_message_text(chat_id=chat_id, message_id=message_id, text="<b>Bot restarted successfully!</b>")
|
||||
LOGGER.info(scheduler.get_jobs())
|
||||
if bool(scheduler.get_jobs()):
|
||||
scheduler.start()
|
||||
asyncio.create_task(auto_clean())
|
||||
|
|
|
|||
Loading…
Reference in a new issue