Files
legica-bot/.env.example
Fran Jurmanović 01866b302e add retry policy
2025-06-30 23:04:51 +02:00

29 lines
725 B
Plaintext

# Discord Bot Configuration
# -----------------------
# Required: Your Discord bot token
TOKEN=your_discord_bot_token_here
# API Configuration
# -----------------------
# Required: Password for admin API access
PASSWORD=your_secure_password_here
# Web Server Settings
# -----------------------
# Port for the API server
PORT=3000
# Scheduling
# -----------------------
# CRON schedule for when to post (default: every day at 9 AM)
CRON_LEGICA=0 9 * * *
# Timezone for the CRON job (e.g. 'Europe/Zagreb', 'America/New_York', etc.)
TIMEZONE=utc
# Content Settings
# -----------------------
# Date format used in post titles
LEGICA_DATE_FORMAT=D.M.YYYY
# Number of hourly retry attempts if date check fails
RETRY_ATTEMPTS=3