mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-04-28 00:20:38 +00:00
08ff72985a
Telegram commands /semantle, /semantle_new, /semantle_giveup, /semantle_stats. Round starts with /random pick from hosted word2sim; each guess scored via /similarity. Unlimited guesses; solve on case-insensitive exact match. New env var WORD2SIM_API_URL (wrangler.toml, .env.deploy). Includes module README and 90 unit tests covering api-client, state, format, render, and handlers.
9 lines
338 B
Plaintext
9 lines
338 B
Plaintext
# Local development secrets loaded by `wrangler dev`.
|
|
# Copy to .dev.vars (gitignored) and fill in real values.
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_WEBHOOK_SECRET=
|
|
|
|
# Optional: override the word2sim base URL for local/self-hosted instances
|
|
# (semantle module). Default is https://word2sim.sg.miti99.com.
|
|
# WORD2SIM_API_URL=http://localhost:8000
|