forked from jacklul/inlinegamesbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (23 loc) · 736 Bytes
/
.env.example
File metadata and controls
32 lines (23 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Bot API token obtained from @BotFather
BOT_TOKEN=""
# Bot username set in @BotFather (without '@' symbol)
BOT_USERNAME=""
# Webhook URL
BOT_WEBHOOK=""
# Secret variable used to secure the web hook
BOT_SECRET=""
# Admin user's Telegram ID
BOT_ADMIN=""
# Database connection DSN string (text files will be used as storage if left empty)
DATABASE_URL=""
# Optional: Token for bot analytics provided by Botan.io
BOTAN_TOKEN=""
# Optional: php-telegram-bot's DB connection (required for getUpdates, overwrites DATABASE_URL)
DB_HOST=""
DB_USER=""
DB_PASS=""
DB_NAME=""
# Optional: Bot data path (useful only when text files are used as storage)
DATA_PATH=
# Optional: Debug mode (will output a lot of data to logs/console)
DEBUG=0