From c84a9944356f590d90d819d652bdf1349ebacd40 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 5 Oct 2026 06:03:49 -0400 Subject: feat: prediction exchange with live polymarket data --- internal/game/cmd_use.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'internal/game/cmd_use.go') diff --git a/internal/game/cmd_use.go b/internal/game/cmd_use.go index 8c82f9c..54a36f5 100644 --- a/internal/game/cmd_use.go +++ b/internal/game/cmd_use.go @@ -29,7 +29,12 @@ func (g *Game) doUse(sess *net.Session, input string) { return } - lower := strings.ToLower(input) + lower := strings.ToLower(strings.TrimSpace(input)) + + if predictionUseTarget(lower) && g.atPredictionCounter(p) { + g.openPredictionCounter(sess) + return + } if lower == "bank" || lower == "bank booth" || strings.HasPrefix(lower, "bank ") { g.doBank(sess) -- cgit v1.2.3