Skip to content

Commit

Permalink
Fix Discord message
Browse files Browse the repository at this point in the history
  • Loading branch information
ondryaso committed Feb 21, 2024
1 parent 0f72397 commit 1252786
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private async Task<string> GetChillzoneMessage(State previousState, State state)
openTillString = $"až do otvíračky (v {nextBarOpening.Start:HH:mm}).";
}

var nextTeaRoomOpening = await _stateService.GetNextPlannedState(StateType.OpenBar);
var nextTeaRoomOpening = await _stateService.GetNextPlannedState(StateType.OpenTearoom);
if (nextTeaRoomOpening != null &&
nextTeaRoomOpening.Start - state.PlannedEnd.Value < TimeSpan.FromMinutes(15))
{
Expand Down

0 comments on commit 1252786

Please sign in to comment.