refactor: 清理项目结构并修复类型注解问题
修复 SQLAlchemy 模型的类型注解,使用 Mapped 类型避免类型检查器错误 - 修正异步数据库操作中缺少 await 的问题 - 优化反注入统计系统的数值字段处理逻辑 - 添加缺失的导入语句修复模块依赖问题
This commit is contained in:
@@ -107,7 +107,7 @@ class HelloWorldPlugin(BasePlugin):
|
||||
components.append((GetSystemInfoTool.get_tool_info(), GetSystemInfoTool))
|
||||
|
||||
if self.get_config("components.hello_command_enabled", True):
|
||||
components.append((HelloCommand.get_command_info(), HelloCommand))
|
||||
components.append((HelloCommand.get_plus_command_info(), HelloCommand))
|
||||
|
||||
if self.get_config("components.random_emoji_action_enabled", True):
|
||||
components.append((RandomEmojiAction.get_action_info(), RandomEmojiAction))
|
||||
|
||||
Reference in New Issue
Block a user