mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-16 11:02:56 +00:00
🔧 pmcaptcha skip service message (#171)
This commit is contained in:
parent
f9a2a9d427
commit
1c75876346
@ -2337,6 +2337,7 @@ class Rule:
|
||||
or self.msg.from_user.is_contact
|
||||
or self.msg.from_user.is_verified
|
||||
or self.msg.chat.type == ChatType.BOT
|
||||
or self.msg.service is not None # skip service message
|
||||
or setting.is_verified(self.user.id)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user