fix:更新s4u表情系统

This commit is contained in:
SengokuCola
2025-07-13 13:00:03 +08:00
parent c6ec4c53db
commit 5fd4caf23b
5 changed files with 292 additions and 245 deletions

View File

@@ -171,7 +171,7 @@ class S4UChat:
def _get_priority_info(self, message: MessageRecv) -> dict:
"""安全地从消息中提取和解析 priority_info"""
priority_info_raw = message.raw.get("priority_info")
priority_info_raw = message.priority_info
priority_info = {}
if isinstance(priority_info_raw, str):
try: