# Post-deploy registration env, consumed by `scripts/register.js` via # `node --env-file=.env.deploy`. Copy to .env.deploy (gitignored) and fill in. # # TELEGRAM_BOT_TOKEN + TELEGRAM_WEBHOOK_SECRET must match the values set via # `wrangler secret put` so the Worker and Telegram agree on the same secret. TELEGRAM_BOT_TOKEN= TELEGRAM_WEBHOOK_SECRET= # Public URL of the deployed Worker (no trailing slash). Known after the first # `wrangler deploy`. Example: https://miti99bot.your-subdomain.workers.dev WORKER_URL= # Same MODULES value as wrangler.toml [vars]. Duplicated here so the register # script can derive the public command list without parsing wrangler.toml. MODULES=util,wordle,loldle,misc,trading,lolschedule,semantle,doantu,twentyq # MongoDB Atlas connection string. Used by the `mongodb` driver inside the Worker # AND by local backfill / verify scripts. MUST match the value set via # `wrangler secret put MONGODB_URI` for the Worker. Same secret-mirror protocol # as TELEGRAM_BOT_TOKEN / TELEGRAM_WEBHOOK_SECRET. # Format: mongodb+srv://miti99bot-worker:@/miti99bot?retryWrites=true&w=majority MONGODB_URI= # Cloudflare API creds for backfill scripts (Phase 05). Read-only scope is enough. # Create at: dash.cloudflare.com → My Profile → API Tokens → Create Token. # Permissions needed: Account → Workers KV Storage → Read; Account → D1 → Read. CLOUDFLARE_ACCOUNT_ID= CLOUDFLARE_API_TOKEN= # KV namespace ID (production). Same value as wrangler.toml [[kv_namespaces]] id. KV_NAMESPACE_ID=