Skip to content

Commit d413304

Browse files
authored
Simplify Telegram bot and database settings descriptions
1 parent 95f8b72 commit d413304

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,19 @@ cp .env.example .env
7373
```
7474

7575
**Telegram Bot Settings:**
76-
77-
- `API_ID` – Your API ID from [my.telegram.org](https://my.telegram.org)
78-
- `API_HASH` – Your API hash from [my.telegram.org](https://my.telegram.org)
79-
- `BOT_TOKEN` – Your bot token from [@BotFather](https://t.me/BotFather)
80-
- `ADMIN` – Your username or user ID. Multiple admins supported, comma-separated (e.g., `1234,12345`)
81-
- `BOT_NAME` – Your bot's name (default: `GetAnyMessage`)
76+
- `API_ID` - API ID
77+
- `API_HASH` - API hash
78+
- `BOT_TOKEN` - bot token
79+
- `ADMIN` - username or user ID. Multiple admins supported, comma-separated (e.g., `1234,12345`)
80+
- `BOT_NAME` - bot name (default: `GetAnyMessage`)
8281

8382
**Database Settings (Optional, for MySQL session storage):**
84-
85-
- `DB_FLAG` – Enable MySQL session storage (`yes`) or disable (`no` / leave empty)
86-
- `DB_HOST` – MySQL host (default: `localhost`)
87-
- `DB_PORT` – MySQL port (default: `3306`)
88-
- `DB_USER` – MySQL username
89-
- `DB_PASS` – MySQL password
90-
- `DB_NAME` – MySQL database name
83+
- `DB_FLAG` - Enable MySQL session storage (`yes`) or disable (`no` / leave empty)
84+
- `DB_HOST` - MySQL host (default: `localhost`)
85+
- `DB_PORT` - MySQL port (default: `3306`)
86+
- `DB_USER` - MySQL username
87+
- `DB_PASS` - MySQL password
88+
- `DB_NAME` - MySQL database name
9189

9290
> ⚠️ If `DB_FLAG` is `no` or empty, all DB_* variables are ignored and the bot will use file-based session storage.
9391

0 commit comments

Comments
 (0)