mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-22 05:54:15 +00:00
🔖 Update to v1.2.2
Upgrade pyrogram to 2.0.33 Add user info to log
This commit is contained in:
parent
f66530ac87
commit
5cb2cac42a
@ -14,7 +14,7 @@ import pyromod.listen
|
|||||||
from pyrogram import Client
|
from pyrogram import Client
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
pgm_version = "1.2.1"
|
pgm_version = "1.2.2"
|
||||||
CMD_LIST = {}
|
CMD_LIST = {}
|
||||||
module_dir = __path__[0]
|
module_dir = __path__[0]
|
||||||
working_dir = getcwd()
|
working_dir = getcwd()
|
||||||
|
@ -17,6 +17,9 @@ async def main():
|
|||||||
|
|
||||||
await bot.start()
|
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:
|
for module_name in module_list:
|
||||||
try:
|
try:
|
||||||
import_module(f"pagermaid.modules.{module_name}")
|
import_module(f"pagermaid.modules.{module_name}")
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
pyrogram==2.0.30
|
pyrogram==2.0.33
|
||||||
TgCrypto>=1.2.3
|
TgCrypto>=1.2.3
|
||||||
Pillow>=8.4.0
|
Pillow>=8.4.0
|
||||||
pytz>=2021.3
|
pytz>=2021.3
|
||||||
@ -8,4 +8,4 @@ psutil>=5.8.0
|
|||||||
httpx
|
httpx
|
||||||
apscheduler
|
apscheduler
|
||||||
sqlitedict
|
sqlitedict
|
||||||
casbin
|
casbin==1.16.9
|
||||||
|
Loading…
Reference in New Issue
Block a user