diff --git a/pagermaid/__init__.py b/pagermaid/__init__.py index 382eb67..1440398 100644 --- a/pagermaid/__init__.py +++ b/pagermaid/__init__.py @@ -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() diff --git a/pagermaid/__main__.py b/pagermaid/__main__.py index 22196d6..13efb47 100644 --- a/pagermaid/__main__.py +++ b/pagermaid/__main__.py @@ -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}") diff --git a/requirements.txt b/requirements.txt index c7e07b7..59fb598 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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