🔖 Update to v1.2.2

Upgrade pyrogram to 2.0.33
Add user info to log
This commit is contained in:
xtaodada 2022-07-20 12:01:15 +08:00
parent f66530ac87
commit 5cb2cac42a
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
3 changed files with 6 additions and 3 deletions

View File

@ -14,7 +14,7 @@ import pyromod.listen
from pyrogram import Client
import sys
pgm_version = "1.2.1"
pgm_version = "1.2.2"
CMD_LIST = {}
module_dir = __path__[0]
working_dir = getcwd()

View File

@ -17,6 +17,9 @@ async def main():
await bot.start()
me = await bot.get_me()
logs.info(f"{lang('save_id')} {me.first_name}({me.id})")
for module_name in module_list:
try:
import_module(f"pagermaid.modules.{module_name}")

View File

@ -1,4 +1,4 @@
pyrogram==2.0.30
pyrogram==2.0.33
TgCrypto>=1.2.3
Pillow>=8.4.0
pytz>=2021.3
@ -8,4 +8,4 @@ psutil>=5.8.0
httpx
apscheduler
sqlitedict
casbin
casbin==1.16.9