Add .env configuration support

This commit is contained in:
Meghdad
2026-07-17 03:57:03 +03:30
parent 09cedc9c4b
commit a3c4fb0257
4 changed files with 62 additions and 9 deletions

12
.env.example Normal file
View File

@@ -0,0 +1,12 @@
# API token used to retrieve planned outages
BARGHEMAN_TOKEN=replace-with-bargheman-token
# Eitaa bot configuration
EITAAYAR_TOKEN=replace-with-eitaayar-token
CHAT_ID=replace-with-chat-id
# One or more comma-separated bill IDs
BILL_IDS=7356609804429,761/pe9314604429
# JSON file used to remember outages that have already been announced
BLACKOUTS_FILE=blackouts.json