调整存档日志,加入时间戳
This commit is contained in:
@@ -29,7 +29,7 @@ def archive_message(group_id, timestamp_str, sender, content, message_type, atta
|
||||
|
||||
# 提交事务
|
||||
connection.commit()
|
||||
print(f"Message archived successfully:{group_id}:{sender}: {content}")
|
||||
print(f"Message archived successfully:{timestamp_str}:{group_id}:{sender}: {content}")
|
||||
|
||||
except Exception as e:
|
||||
print(f"Error archiving message: {e}")
|
||||
|
||||
Reference in New Issue
Block a user