Feat: which bot to move
This commit is contained in:
		| @@ -80,6 +80,11 @@ func NewBot(role, team, name, roomID string, cfg *config.Config) (*Bot, error) { | ||||
| 		return nil, errors.New("cannot join after game started") | ||||
| 	} | ||||
| 	room.PlayerList = append(room.PlayerList, name) | ||||
| 	bp := models.BotPlayer{ | ||||
| 		Role: models.StrToUserRole(role), | ||||
| 		Team: models.StrToUserTeam(team), | ||||
| 	} | ||||
| 	room.BotMap[name] = bp | ||||
| 	switch team { | ||||
| 	case "red": | ||||
| 		if role == "mime" { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder