mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-21 23:08:02 +00:00
🔖 Update to v1.1.1
This commit is contained in:
parent
2a1b54802b
commit
8ebc6223a6
@ -10,7 +10,7 @@ import pyromod.listen
|
||||
from pyrogram import Client
|
||||
import sys
|
||||
|
||||
pgm_version = "1.1.0"
|
||||
pgm_version = "1.1.1"
|
||||
CMD_LIST = {}
|
||||
module_dir = __path__[0]
|
||||
working_dir = getcwd()
|
||||
|
@ -168,10 +168,10 @@ def listener(**args):
|
||||
if parameters is None:
|
||||
parameters = ""
|
||||
help_messages.update({
|
||||
f"{command}": {"permission": permission_name,
|
||||
"use": f"**{lang('use_method')}:** `,{command} {parameters}`\n"
|
||||
f"**{lang('need_permission')}:** `{permission_name}`\n"
|
||||
f"{description}"}
|
||||
f"{alias_command(command)}": {"permission": permission_name,
|
||||
"use": f"**{lang('use_method')}:** `,{command} {parameters}`\n"
|
||||
f"**{lang('need_permission')}:** `{permission_name}`\n"
|
||||
f"{description}"}
|
||||
})
|
||||
all_permissions.append(Permission(permission_name))
|
||||
|
||||
|
@ -127,7 +127,7 @@ async def alias_commands(message: Message):
|
||||
elif len(message.parameter) == 1:
|
||||
if source_commands:
|
||||
texts.extend(
|
||||
f'`{source_commands[i]}` --> `{to_commands[i]}`'
|
||||
f'`{source_commands[i]}` > `{to_commands[i]}`'
|
||||
for i in range(len(source_commands))
|
||||
)
|
||||
|
||||
|
@ -59,7 +59,7 @@ class Client:
|
||||
self.listening.update({
|
||||
chat_id: {"future": future, "filters": filters}
|
||||
})
|
||||
return await asyncio.wait_for(future, timeout, loop=self.loop)
|
||||
return await asyncio.wait_for(future, timeout)
|
||||
|
||||
@patchable
|
||||
async def ask(self, chat_id, text, filters=None, timeout=None, *args, **kwargs):
|
||||
|
@ -1,4 +1,4 @@
|
||||
pyrogram==2.0.27
|
||||
pyrogram==2.0.30
|
||||
TgCrypto>=1.2.3
|
||||
Pillow>=8.4.0
|
||||
pytz>=2021.3
|
||||
|
Loading…
Reference in New Issue
Block a user