feat:可记录和查询群昵称

This commit is contained in:
SengokuCola
2025-11-14 23:34:28 +08:00
parent ff56bd043c
commit 4032a2ca9e
4 changed files with 125 additions and 3 deletions

View File

@@ -267,6 +267,7 @@ class PersonInfo(BaseModel):
platform = TextField() # 平台
user_id = TextField(index=True) # 用户ID
nickname = TextField(null=True) # 用户昵称
group_nick_name = TextField(null=True) # 群昵称列表 (JSON格式存储 [{"group_id": str, "group_nick_name": str}])
memory_points = TextField(null=True) # 个人印象的点
know_times = FloatField(null=True) # 认识时间 (时间戳)
know_since = FloatField(null=True) # 首次印象总结时间