mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-22 09:41:54 +00:00
pmcaptcha 提升为管理员权限
This commit is contained in:
parent
0439a8f4b8
commit
94a5a371f7
@ -72,10 +72,10 @@
|
||||
},
|
||||
{
|
||||
"name": "pmcaptcha",
|
||||
"version": "1.00",
|
||||
"version": "1.001",
|
||||
"section": "chat",
|
||||
"maintainer": "cloudreflection",
|
||||
"size": "8.27 kb",
|
||||
"size": "9.23 kb",
|
||||
"supported": true,
|
||||
"des-short": "简单的私聊人机验证",
|
||||
"des": "简单的私聊人机验证,支持自定义关键词黑名单,通过后欢迎语,验证超时时间"
|
||||
|
@ -106,6 +106,7 @@ async def process_pm_captcha(client: Client, message: Message):
|
||||
|
||||
|
||||
@listener(is_plugin=True, outgoing=True, command="pmcaptcha",
|
||||
need_admin=True,
|
||||
description='一个简单的私聊人机验证 可用命令列表请见 t.me/cloudreflection_channel/298')
|
||||
async def pm_captcha(client: Client, message: Message):
|
||||
cid_ = str(message.chat.id)
|
||||
|
Loading…
Reference in New Issue
Block a user