From 6ce4c972a073957e7662ea5ee35da965e20dbadd Mon Sep 17 00:00:00 2001 From: snowy Date: Sat, 1 Jun 2024 14:16:04 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=AF=B9lyfunction=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E6=B7=BB=E5=8A=A0=E9=89=B4=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liteyuki/liteyuki_main/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/liteyuki/liteyuki_main/core.py b/liteyuki/liteyuki_main/core.py index 6d23fcc..7e40ccf 100644 --- a/liteyuki/liteyuki_main/core.py +++ b/liteyuki/liteyuki_main/core.py @@ -194,7 +194,8 @@ async def _(matcher: Matcher): command=Alconna( "/function", Args["function", str]["args", MultiVar(str), ()], - ) + ), + permission=SUPERUSER ).handle() async def _(result: Arparma, bot: T_Bot, event: T_MessageEvent, matcher: Matcher): """