mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-16 14:21:11 +00:00
🔖 Update to v1.0.7
This commit is contained in:
parent
654c5f50cb
commit
4401568d11
@ -9,7 +9,7 @@ import pyromod.listen
|
||||
from pyrogram import Client
|
||||
import sys
|
||||
|
||||
pgm_version = "1.0.6"
|
||||
pgm_version = "1.0.7"
|
||||
CMD_LIST = {}
|
||||
module_dir = __path__[0]
|
||||
working_dir = getcwd()
|
||||
|
@ -55,7 +55,7 @@ def listener(**args):
|
||||
if outgoing and not incoming:
|
||||
base_filters = filters.me & ~filters.via_bot & ~filters.forwarded
|
||||
elif incoming and not outgoing:
|
||||
base_filters = filters.incoming
|
||||
base_filters = filters.incoming & ~filters.me
|
||||
else:
|
||||
base_filters = filters.all
|
||||
permission_name = get_permission_name(is_plugin, need_admin, command)
|
||||
|
Loading…
Reference in New Issue
Block a user