16 lines
405 B
Bash
16 lines
405 B
Bash
# Copy to .env and edit.
|
|
|
|
API_BASE_URL=http://localhost:8088
|
|
API_LOGIN=bot-user
|
|
API_PASSWORD=change-me
|
|
|
|
# Bot token from @BotFather; chat id is @group or a numeric id (negative).
|
|
TELEGRAM_BOT_TOKEN=123456:ABC-DEF-your-token
|
|
TELEGRAM_CHAT_ID=@my-group
|
|
|
|
# Optional.
|
|
BOT_POLL_INTERVAL_SECONDS=900
|
|
BOT_STATE_FILE=state.json
|
|
# Route API + Telegram traffic through SOCKS5 (needs requests[socks]).
|
|
SOCKS5_PROXY=
|