Fix: timers and styles
This commit is contained in:
		| @@ -13,7 +13,7 @@ func (b *Bot) StartTurnTimer(timeLeft uint32) { | ||||
| 	logger := b.log.With("room_id", b.RoomID) | ||||
|  | ||||
| 	onTurnEnd := func(ctx context.Context, roomID string) { | ||||
| 		room, err := repos.RP.RoomGetByID(context.Background(), roomID) | ||||
| 		room, err := repos.RP.RoomGetExtended(context.Background(), roomID) | ||||
| 		if err != nil { | ||||
| 			logger.Error("failed to get room by id", "error", err) | ||||
| 			return | ||||
| @@ -46,4 +46,5 @@ func (b *Bot) StartTurnTimer(timeLeft uint32) { | ||||
|  | ||||
| func (b *Bot) StopTurnTimer() { | ||||
| 	timer.StopTurnTimer(b.RoomID) | ||||
| } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder