Chore: refactor; mark words [WIP]

This commit is contained in:
Grail Finder
2025-06-27 13:22:00 +03:00
parent c5f04d348f
commit 72053281e2
7 changed files with 208 additions and 33 deletions

View File

@ -232,6 +232,8 @@ func RemoveBot(botName string, room *models.Room) error {
delete(room.BotMap, botName)
delete(DoneChanMap, botName)
delete(SignalChanMap, botName)
// remove role from room
room.RemovePlayer(botName)
return saveRoom(room)
}