Skip to content

Commit

Permalink
🔖 Update to v1.4.12
Browse files Browse the repository at this point in the history
fix reload dispatcher handler
  • Loading branch information
omg-xtao committed Mar 15, 2024
1 parent 557000d commit e49471a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pagermaid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import pyromod.listen
from pyrogram import Client

pgm_version = "1.4.11"
pgm_version_code = 1411
pgm_version = "1.4.12"
pgm_version_code = 1412
CMD_LIST = {}
module_dir = __path__[0]
working_dir = getcwd()
Expand Down
1 change: 1 addition & 0 deletions pagermaid/modules/reload.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ async def ping_task():
ping_watchdog_event.set()
try:
await bot.restart()
await reload_all()
finally:
ping_watchdog_event.clear()
logs.debug("Ping task ok")

0 comments on commit e49471a

Please sign in to comment.