Files
faction_war_dispatch_bot/.env.example

28 lines
775 B
Plaintext

# Torn API Configuration
TORN_API_KEY=your_torn_api_key_here
FFSCOUTER_KEY=your_ffscouter_api_key_here
# Discord Bot Configuration
DISCORD_TOKEN=your_discord_bot_token_here
ALLOWED_CHANNEL_ID=your_discord_channel_id_here
# Authentication
# IMPORTANT: Generate a strong random password for production
AUTH_PASSWORD=your_strong_password_here
# IMPORTANT: Generate a strong random secret for JWT signing
JWT_SECRET=your_random_jwt_secret_here
# Timing Settings (in seconds)
POLL_INTERVAL=30
HIT_CHECK_INTERVAL=60
REASSIGN_DELAY=120
ASSIGNMENT_TIMEOUT=60
ASSIGNMENT_REMINDER=45
CHAIN_TIMER_THRESHOLD=5
# Server Configuration
# HOST: Set to 0.0.0.0 to allow external connections, or 127.0.0.1 for localhost only
HOST=127.0.0.1
# PORT: Port to run the application on
PORT=8000