mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-01 03:59:51 +00:00
✨ 优化函数列表显示,添加短信息属性以改善函数调用的描述
This commit is contained in:
@ -42,7 +42,7 @@ function_call = on_alconna(
|
||||
async def list_functions():
|
||||
reply = "共有如下可调用函数:\n"
|
||||
for function in get_function_calls().values():
|
||||
reply += f"- {function.name}({function.description}))\n"
|
||||
reply += f"- {function.short_info}\n"
|
||||
await UniMessage(reply).send()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user