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)