Fix: save bot actions
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user