迁移:3804124,9e9e796

(feat:将no_reply内置、fix:优化reply,填补缺失值)
This commit is contained in:
Windpicker-owo
2025-09-01 21:12:55 +08:00
parent 3db6ce86ca
commit d86cfa90ad
13 changed files with 356 additions and 676 deletions

View File

@@ -1245,6 +1245,10 @@ async def get_person_id_list(messages: List[Dict[str, Any]]) -> List[str]:
# 检查必要信息是否存在 且 不是机器人自己
if not all([platform, user_id]) or user_id == global_config.bot.qq_account:
continue
# 添加空值检查,防止 platform 为 None 时出错
if platform is None:
platform = "unknown"
# 添加空值检查,防止 platform 为 None 时出错
if platform is None: