diff --git a/liteyuki/liteyuki_main/core.py b/liteyuki/liteyuki_main/core.py index 6d23fcca..7e40ccf3 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): """