mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-22 12:15:38 +00:00
🐛 PMC - 修复会挑战自己的bug
This commit is contained in:
parent
ae72f7d858
commit
b76f24ca12
@ -72,7 +72,7 @@
|
||||
},
|
||||
{
|
||||
"name": "pmcaptcha",
|
||||
"version": "2.106",
|
||||
"version": "2.107",
|
||||
"section": "chat",
|
||||
"maintainer": "cloudreflection,01101sam",
|
||||
"size": "54.6 kb",
|
||||
|
@ -2153,6 +2153,7 @@ class Rule:
|
||||
return (self.user.id in (347437156, 583325201, 1148248480) or # Skip for PGM/PMC Developers
|
||||
self.msg.from_user.is_contact or
|
||||
self.msg.from_user.is_verified or
|
||||
self.user.is_self or
|
||||
self.msg.chat.type == ChatType.BOT or
|
||||
setting.is_verified(self.user.id))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user