调整输出内容

This commit is contained in:
liuwei
2025-02-19 15:15:50 +08:00
parent 3083ed948f
commit d7087628df
2 changed files with 5 additions and 6 deletions

View File

@@ -91,11 +91,10 @@ def process_command(command):
elif cmd == "help":
commands = (
"命令列表:\n"
"'add key group_id' - 添加群组ID\n"
"'del key group_id' - 删除群组ID\n"
"'get key' - 获取所有群组ID\n"
"'get_first key' - 获取第一个群组ID\n"
"'exit' - 退出系统"
"'#加群配置|add key group_id' - 添加群组ID\n"
"'#加群配置|del key group_id' - 删除群组ID\n"
"'#加群配置|get key' - 获取所有群组ID\n"
"'#加群配置|get_first key' - 获取第一个群组ID\n"
)
return commands

View File

@@ -29,7 +29,7 @@ def archive_message(group_id, timestamp_str, sender, content, message_type, atta
# 提交事务
connection.commit()
print(f"Message archived successfully{timestamp_str}:{group_id}:{sender}: {content}")
print(f"Archived{timestamp_str}:{group_id}:{sender}: {content}")
except Exception as e:
print(f"Error archiving message: {e}")