DATABASE_URI=mongodb://127.0.0.1/your-database-name PAYLOAD_SECRET=YOUR_SECRET_HERE # Public URL of the running app (used by the game tick script to notify clients) APP_URL=http://localhost:3000 # Secret that guards the /api/game-tick/notify endpoint. The game tick script # sends this header so connected clients refresh after each tick. GAME_TICK_NOTIFY_SECRET=YOUR_GAME_TICK_NOTIFY_SECRET # --- Discord bot --- # Bot token from the Discord Developer Portal. Required to run the bot. DISCORD_TOKEN= # Server (guild) id that slash commands are registered to. Required. DISCORD_GUILD_ID= # Channel id where attendance embeds are posted. DISCORD_OPS_CHANNEL_ID= # Channel id used as the default /announce target. DISCORD_ANNOUNCE_CHANNEL_ID= # Comma-separated Discord role ids that grant staff permissions. DISCORD_STAFF_ROLE_IDS= # How often the attendance reconcile loop runs, in ms. Defaults to 60000. DISCORD_ATTENDANCE_POLL_MS= # How often the notification bridge polls for new notifications, in ms. Defaults to 20000. DISCORD_NOTIFICATION_POLL_MS=