From 0c563f5ba544a837ab4676c1f0e45b7f614e60e8 Mon Sep 17 00:00:00 2001 From: yshtcn Date: Sun, 24 Sep 2023 15:31:59 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E6=94=B9=E6=96=87=E5=AD=97?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Diary Assistant.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Diary Assistant.py b/Diary Assistant.py index cf83ee7..63ae1ac 100644 --- a/Diary Assistant.py +++ b/Diary Assistant.py @@ -53,7 +53,7 @@ def set_bot_commands(): try: set_commands_url = URL + "setMyCommands" commands = [ - {"command": "start", "description": "第一次使用机器人会提示使用,每次使用都会显示帮助。"}, + {"command": "start", "description": "首次使用向导/显示帮助。"}, {"command": "done", "description": "结束记录:发送并开始新的记录。"}, {"command": "check", "description": "检查记录,已有记录。"}, {"command": "removelast", "description": "删除最后一条记录。"} @@ -173,7 +173,7 @@ def main(): current_datetime = datetime.now().strftime("%Y-%m-%d %H:%M:%S") # 在 message_text 前面加上日期和时间 - message_text_with_datetime = f"【记录时间:{current_datetime}】\n{message_text}" + message_text_with_datetime = f"#记录成功\n\n```\n{message_text}\n```\n【信息记录时间:{current_datetime}】" # 创建唯一标识符 unique_id = f"{TOKEN}_{chat_id}_{message_id}"