From 80988c658038aa243c6b35a9a8922e5627471bb5 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 5 Mar 2026 12:55:01 +0800 Subject: [PATCH] refactor: update README and docker-compose for clarity and simplicity --- README.md | 7 +------ bot/handlers/reminder.py | 2 +- docker-compose.yml | 2 -- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 97ed212..2b40992 100644 --- a/README.md +++ b/README.md @@ -26,16 +26,11 @@ cp .env.example .env ### 3. 启动 -**Docker 方式(推荐)**: +**Docker 方式**: ```bash docker-compose up -d ``` -**本地运行**: -```bash -pip install -r requirements.txt -python -m bot.main -``` ## 使用说明 diff --git a/bot/handlers/reminder.py b/bot/handlers/reminder.py index a310697..fe5dd91 100644 --- a/bot/handlers/reminder.py +++ b/bot/handlers/reminder.py @@ -68,7 +68,7 @@ async def input_title(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int return INPUT_TITLE context.user_data["title"] = title - await update.message.reply_text("请输入提醒描述(可选,直接发送"跳过"):") + await update.message.reply_text("请输入提醒描述(可选,直接发送\"跳过\"):") return INPUT_DESC diff --git a/docker-compose.yml b/docker-compose.yml index 5a07952..a7f7b63 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3.9" - services: reminderbot: build: .