From 17bd879e9e3edeb9a812a4e3fe04d347a334d5f3 Mon Sep 17 00:00:00 2001 From: K2cr2O1 <2221577113@qq.com> Date: Sun, 4 Jan 2026 23:57:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=80=E4=BA=9B=E4=B8=9C?= =?UTF-8?q?=E8=A5=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/echo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/echo.py b/plugins/echo.py index 34a7f22..ff743ea 100644 --- a/plugins/echo.py +++ b/plugins/echo.py @@ -13,7 +13,7 @@ __plugin_meta__ = { "usage": "/echo [内容] - 复读内容\n/赞我 - 让机器人给你点赞", } -@matcher.command("echo") +@matcher.command("echo",permission=MessageEvent.ADMIN) async def handle_echo(bot: Bot, event: MessageEvent, args: list[str]): """ 处理 echo 指令,原样回复用户输入的内容