mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-21 18:58:21 +00:00
🔖 Update to v1.4.12
fix reload dispatcher handler
This commit is contained in:
parent
557000dbec
commit
e49471aa6c
@ -22,8 +22,8 @@ from pagermaid.scheduler import scheduler
|
|||||||
import pyromod.listen
|
import pyromod.listen
|
||||||
from pyrogram import Client
|
from pyrogram import Client
|
||||||
|
|
||||||
pgm_version = "1.4.11"
|
pgm_version = "1.4.12"
|
||||||
pgm_version_code = 1411
|
pgm_version_code = 1412
|
||||||
CMD_LIST = {}
|
CMD_LIST = {}
|
||||||
module_dir = __path__[0]
|
module_dir = __path__[0]
|
||||||
working_dir = getcwd()
|
working_dir = getcwd()
|
||||||
|
@ -47,6 +47,7 @@ async def ping_task():
|
|||||||
ping_watchdog_event.set()
|
ping_watchdog_event.set()
|
||||||
try:
|
try:
|
||||||
await bot.restart()
|
await bot.restart()
|
||||||
|
await reload_all()
|
||||||
finally:
|
finally:
|
||||||
ping_watchdog_event.clear()
|
ping_watchdog_event.clear()
|
||||||
logs.debug("Ping task ok")
|
logs.debug("Ping task ok")
|
||||||
|
Loading…
Reference in New Issue
Block a user