mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-13 18:16:13 +00:00
/wordle and /loldle now send the wordle and loldle BotFather games in an unlimited mode: each player gets their own word or champion, saved after every guess, with a New game button. Cards the bot did not record as unlimited, including the daily cards, play the daily puzzle. The helper commands keep working on the player's round. /loldledaily mirrors /wordledaily: one champion per day at 07:00 ICT, subscribe and unsubscribe, the morning recap and the live group results. The daily and unlimited machinery is shared in util/guessgame, the old in-chat wordle module is removed, and a one-time startup migration carries each player's stats and unfinished round over without changing old data.
11 lines
247 B
Go
11 lines
247 B
Go
// Package web holds the LoLdle page: plain HTML, CSS and JavaScript with no
|
|
// build step, embedded into the binary.
|
|
package web
|
|
|
|
import "embed"
|
|
|
|
// FS holds index.html, app.css and app.js.
|
|
//
|
|
//go:embed index.html app.css app.js
|
|
var FS embed.FS
|