refactor: update README and docker-compose for clarity and simplicity
This commit is contained in:
parent
f453a7917e
commit
80988c6580
@ -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
|
||||
```
|
||||
|
||||
## 使用说明
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
reminderbot:
|
||||
build: .
|
||||
|
||||
Loading…
Reference in New Issue
Block a user