From 94a5a371f7e837ce8074e8de06e0dbbf26968b39 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 6 Jun 2022 20:26:02 +0800 Subject: [PATCH] =?UTF-8?q?pmcaptcha=20=E6=8F=90=E5=8D=87=E4=B8=BA?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- list.json | 4 ++-- pmcaptcha/main.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/list.json b/list.json index 6cd68f8..7b9fd91 100644 --- a/list.json +++ b/list.json @@ -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": "简单的私聊人机验证,支持自定义关键词黑名单,通过后欢迎语,验证超时时间" diff --git a/pmcaptcha/main.py b/pmcaptcha/main.py index 0df1b47..13f33e7 100644 --- a/pmcaptcha/main.py +++ b/pmcaptcha/main.py @@ -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)