Feat: bot failed state to show/hide llm restart btn

This commit is contained in:
Grail Finder
2025-07-13 08:31:16 +03:00
parent 757586ea22
commit 155aa1b2cb
6 changed files with 27 additions and 13 deletions

View File

@ -178,6 +178,8 @@ type Room struct {
BotMap map[string]BotPlayer `db:"-"`
LogJournal []Journal `db:"-"`
Settings GameSettings `db:"-"`
//
BotFailed bool `db:"bot_failed"`
}
func (r *Room) FindColor(word string) (WordColor, bool) {