加入组ID

This commit is contained in:
liuwei
2025-02-06 12:19:48 +08:00
parent 25e5e26a7b
commit 19c94364a4
3 changed files with 8 additions and 6 deletions

View File

@@ -163,7 +163,7 @@ class Robot(Job):
# 聊天记录入库动作:
try:
now_time = str(datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
archive_message(now_time,msg.sender,msg.content,msg.type,msg.extra)
archive_message(msg.roomid,now_time,msg.sender,msg.content,msg.type,msg.extra)
except Exception as e:
self.LOG.error(f"archive_message error: {e}")