mirror of
https://github.com/Nezumi-2711/astrbot_plugin_qq_group_daily_analysis.git
synced 2026-09-22 13:38:43 +00:00
feat: 添加 raw_message 和 user_id 字段以增强消息兼容性
This commit is contained in:
@@ -224,6 +224,8 @@ class OneBotAdapter(PlatformAdapter):
|
||||
},
|
||||
"message": message_chain,
|
||||
"group_id": msg.group_id,
|
||||
"raw_message": msg.text_content, # 添加 raw_message 兼容字段
|
||||
"user_id": msg.sender_id, # 添加 user_id 兼容字段
|
||||
}
|
||||
raw_messages.append(raw_msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user