mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-01 16:39:52 +00:00
✨ 支持开发热重载插件,支持独立测试函数
This commit is contained in:
@ -112,7 +112,7 @@ async def _preload_tools():
|
||||
|
||||
|
||||
@driver.on_startup
|
||||
async def _preload_plugins():
|
||||
async def _():
|
||||
"""启动钩子加载插件"""
|
||||
if config.marshoai_enable_plugins:
|
||||
marshoai_plugin_dirs = config.marshoai_plugin_dirs # 外部插件目录列表
|
||||
|
Reference in New Issue
Block a user