mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-22 20:17:39 +08:00
✨ 对lyfunction命令添加鉴权
This commit is contained in:
parent
70e3c9968a
commit
6ce4c972a0
@ -194,7 +194,8 @@ async def _(matcher: Matcher):
|
|||||||
command=Alconna(
|
command=Alconna(
|
||||||
"/function",
|
"/function",
|
||||||
Args["function", str]["args", MultiVar(str), ()],
|
Args["function", str]["args", MultiVar(str), ()],
|
||||||
)
|
),
|
||||||
|
permission=SUPERUSER
|
||||||
).handle()
|
).handle()
|
||||||
async def _(result: Arparma, bot: T_Bot, event: T_MessageEvent, matcher: Matcher):
|
async def _(result: Arparma, bot: T_Bot, event: T_MessageEvent, matcher: Matcher):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user