Skip to content

Commit 654a43b

Browse files
authored
Update .env.example with database and bot name
Added database configuration options and bot name to the example environment file.
1 parent 87ac34f commit 654a43b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/.env.example

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
API_ID=your_api_id # [api id from my.telegram.org]
22
API_HASH=your_api_hash # [api hash from my.telegram.org]
3-
BOT_TOKEN=your_bot_token # [for the main bot]
3+
BOT_TOKEN=your_bot_token
44
ADMIN=your_username_or_id # [can be multiple admins just add: , ex: 1234, 12345]
5+
BOT_NAME=GetAnyMessage
6+
DB_FLAG=yes # can be set no or null
7+
DB_HOST=localhost # can be null if DB_FLAG=no
8+
DB_PORT=3306 # can be null if DB_FLAG=no
9+
DB_USER=mpuser # can be null if DB_FLAG=no
10+
DB_PASS=mp_pass # can be null if DB_FLAG=no
11+
DB_NAME=madelineproto # can be null if DB_FLAG=no

0 commit comments

Comments
 (0)