mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-01 03:59:51 +00:00
✨ 支持开发热重载插件,支持独立测试函数
This commit is contained in:
@ -16,3 +16,8 @@ async def generate_random_numbers(count: int) -> str:
|
||||
|
||||
|
||||
# 该插件由MarshoAI自举编写
|
||||
|
||||
|
||||
@on_function_call(description="重载测试")
|
||||
def test_reload():
|
||||
return 1
|
||||
|
Reference in New Issue
Block a user