refactor(core): 重构核心模块结构并添加开发文档

将核心模块按功能重新组织为更清晰的结构,包括 managers、handlers 和 utils 目录
添加完整的开发文档,涵盖快速开始、项目结构、核心概念和插件开发指南
更新所有相关模块的导入路径以匹配新的结构
将单例模式实现提取到单独的 singleton.py 文件
This commit is contained in:
2026-01-07 22:51:27 +08:00
parent c708761726
commit 56b1014419
45 changed files with 772 additions and 104 deletions

View File

@@ -8,8 +8,8 @@ import random
from datetime import datetime
from core.bot import Bot
from core.command_manager import matcher
from core.executor import run_in_thread_pool
from core.managers.command_manager import matcher
from core.utils.executor import run_in_thread_pool
from models import MessageEvent, MessageSegment
__plugin_meta__ = {