-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (25 loc) · 858 Bytes
/
.env.example
File metadata and controls
31 lines (25 loc) · 858 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
# Telegram Bot Configuration
API_KEY=your_telegram_bot_token_here
# Logging Configuration (optional)
LOG_LEVEL=INFO
LOG_FILE=logs/bot.log
# Piston API Configuration (optional)
PISTON_API_URL=https://emkc.org/api/v2/piston/execute
PISTON_TIMEOUT=30
PISTON_RETRY_ATTEMPTS=3
PISTON_RETRY_DELAY=1.0
# Bot Configuration (optional)
BOT_TIMEOUT=30
POOLING_TIMEOUT=30
CONNECTION_POOL_SIZE=8
# Rate Limiting (optional)
RATE_LIMIT_WINDOW=60
RATE_LIMIT_MAX_REQUESTS=10
# Health Check Configuration (optional)
HEALTH_CHECK_INTERVAL=300
MAX_MEMORY_USAGE=256
# Channel Membership Check Configuration (optional)
# Set to true to require users to join a specific channel before using the bot in private chats
REQUIRE_CHANNEL_MEMBERSHIP=false
# The channel users must join (use @ for public channels or channel ID for private channels)
REQUIRED_CHANNEL_ID=@area51_blog