mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Update __main__.py
This commit is contained in:
parent
d7282988e2
commit
1579a9e8ab
1 changed files with 2 additions and 1 deletions
|
|
@ -72,7 +72,8 @@ async def start_bot():
|
|||
)
|
||||
except Exception as e:
|
||||
LOGGER.error(str(e))
|
||||
scheduler.start()
|
||||
if bool(scheduler.get_jobs()):
|
||||
scheduler.start()
|
||||
if os.path.exists("restart.pickle"):
|
||||
with open('restart.pickle', 'rb') as status:
|
||||
chat_id, message_id = pickle.load(status)
|
||||
|
|
|
|||
Loading…
Reference in a new issue