Skip to content

Commit 9b85b54

Browse files
committed
chore(rewrite-v2): add .env.example
Environment template for bot token, database URL, captcha config, and optional group IDs.
1 parent a09aca1 commit 9b85b54

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.env.example

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Required: Bot token from @BotFather
2+
TELEGRAM_BOT_TOKEN=your_bot_token_here
3+
4+
# Optional: PostgreSQL connection string (Neon or other PostgreSQL)
5+
# When set, uses PostgresRepository; otherwise uses InMemoryRepository
6+
# DATABASE_URL=postgresql://user:password@host/neondb?sslmode=require
7+
8+
# Captcha: secret command users must send in DM after reading the rules file
9+
CAPTCHA_SECRET_COMMAND=python-italy
10+
11+
# Path to the rules/captcha file (relative to project root)
12+
CAPTCHA_FILE_PATH=assets/regolamento.md
13+
14+
# Optional: Main group ID for multi-group logic
15+
# MAIN_GROUP_ID=-1001234567890
16+
17+
# Optional: Comma-separated list of local sub-group IDs
18+
# LOCAL_GROUP_IDS=-1001234567891,-1001234567892

0 commit comments

Comments
 (0)