Fix: save bot actions

This commit is contained in:
Grail Finder
2025-07-05 11:30:58 +03:00
parent eef4b7941b
commit de2cccf66d
6 changed files with 36 additions and 22 deletions

View File

@ -208,6 +208,8 @@ func notify(event, msg string) {
}
func loadCards(room *models.Room) {
// remove old cards
room.Cards = []models.WordCard{}
// store it somewhere
wordMap := map[string]string{
"en": "assets/words/en_nouns.txt",