1
0
forked from bot/app

对lyfunction命令添加鉴权

This commit is contained in:
远野千束 2024-06-01 14:16:04 +08:00
parent 70e3c9968a
commit 6ce4c972a0

View File

@ -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):
"""