调整输出内容
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user