🔖 Update to v1.0.7

This commit is contained in:
xtaodada 2022-06-07 22:33:33 +08:00
parent 654c5f50cb
commit 4401568d11
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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)