From 2f5a0deda940ffbb632d2dcc0b6abb45b816fafa Mon Sep 17 00:00:00 2001 From: Ryan Yeske Date: Wed, 30 Oct 2024 20:31:49 -0700 Subject: [PATCH] Show inning top/half/end better --- handlers/mlb/gameodds.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/handlers/mlb/gameodds.go b/handlers/mlb/gameodds.go index b07b5cb..18f399f 100644 --- a/handlers/mlb/gameodds.go +++ b/handlers/mlb/gameodds.go @@ -68,11 +68,6 @@ func GameOdds(params bot.HandlerParams) error { return err } - half := "top" - if g[0].Scores.InningHalf == 1 { - half = "bot" - } - bases := "" if g[0].Scores.Has3B == 1 { bases += "<" @@ -98,7 +93,7 @@ func GameOdds(params bot.HandlerParams) error { g[0].Scores.HomeScore, g[0].Scores.LiveWEHome*100, g[0].Scores.Outs, - half, + g[0].Scores.Ih, g[0].Scores.Inning, bases)