合并Dev: 添加状态管理器,修复一些bug,更新Readme#67
Merged
xiaosuyyds merged 8 commits intomasterfrom Apr 10, 2025
Merged
Conversation
- 在处理 QQ 富文本消息时,末尾的文本内容现在将使用 cq_decode 函数进行解码 - 这确保了所有文本内容,包括末尾的文本,都能正确显示
- 添加路径规范化处理,确保路径格式兼容性 - 移除特殊字符,提高文件名安全性
- 新增 StateManager 模块,用于管理状态数据 - 重构 EventHandlers模块,支持依赖注入和更灵活的事件匹配 - 在 PluginManager 模块中添加 get_caller_plugin_data 函数,用于获取调用者插件数据 - 更新 utils/__init__.py,添加 StateManager 和 PluginManager 的引用
- 修复了 QQRichText 类初始化时的错误,将 self.data 替换为 self.xml_data - 此修改确保了 XML 数据能够正确传递给父类初始化方法
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这下是真没活了(