重构代码以使用 mofox_wire 替代 mofox_bus,更新相关文档和示例

This commit is contained in:
Windpicker-owo
2025-11-25 22:45:57 +08:00
parent b6de9b5a9c
commit 8a6b141017
20 changed files with 49 additions and 49 deletions

View File

@@ -342,7 +342,7 @@ class ChatManager:
def register_message(self, message: DatabaseMessages):
"""注册消息到聊天流"""
# 从 DatabaseMessages 提取平台和用户/群组信息
from mofox_bus import GroupInfo, UserInfo
from mofox_wire import GroupInfo, UserInfo
user_info = UserInfo(
platform=message.user_info.platform,