mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-04-28 00:20:38 +00:00
feat(semantle): add word2vec guessing game module
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.
This commit is contained in:
@@ -2,3 +2,7 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user