# Replay configuration — copy to .env and fill in. # --- Discord (required) --- # Bot token from https://discord.com/developers/applications DISCORD_TOKEN= # Optional: register slash commands to a single guild for instant availability # during development. Leave blank in production to register global commands. DISCORD_DEV_GUILD_ID= # --- Spotify (optional, metadata authority) --- # Client credentials from https://developer.spotify.com/dashboard # If unset, Replay falls back to Lavalink search for text queries. # Spotify is used ONLY for metadata/search — never for playback. SPOTIFY_CLIENT_ID= SPOTIFY_CLIENT_SECRET= # --- Lavalink (audio backend) --- LAVALINK_NAME=main LAVALINK_ADDRESS=localhost:2333 LAVALINK_PASSWORD=youshallnotpass LAVALINK_SECURE=false # --- Database --- # Path to the SQLite database file (created automatically). DATABASE_PATH=replay.db # --- Operations --- # Log level: debug, info, warn, error LOG_LEVEL=info # Emit structured JSON logs (true/false) LOG_JSON=false # Address for the health/metrics HTTP server. Empty disables it. METRICS_ADDR=:9090