plugin_manager 重新拆分,增加扩展

This commit is contained in:
UnCLAS-Prommer
2025-07-07 12:13:33 +08:00
parent 3c46d996fe
commit bed9c2bf6b
5 changed files with 827 additions and 403 deletions

View File

@@ -568,9 +568,6 @@ class BasePlugin(ABC):
def register_plugin(self) -> bool:
"""注册插件及其所有组件"""
if not self.enable_plugin:
logger.info(f"{self.log_prefix} 插件已禁用,跳过注册")
return False
components = self.get_plugin_components()