1
0
forked from bot/app

📝 文档新增特性

This commit is contained in:
2024-05-26 17:12:06 +08:00
parent 3ea0acd48b
commit b558b51601
3 changed files with 13 additions and 27 deletions

View File

@ -18,7 +18,6 @@ async def load_plugins():
# 从数据库读取已安装的插件
if not get_config("safe_mode", False):
# 安全模式下,不加载插件
installed_plugins: list[InstalledPlugin] = plugin_db.where_all(InstalledPlugin())
if installed_plugins:
for installed_plugin in installed_plugins: