From 0b787a65a1d2ebad241120a45f3e8452cd42f201 Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Sat, 2 Dec 2023 08:21:24 -0500 Subject: [PATCH] update code to mach datatype --- plugins/aoc/aoc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/aoc/aoc.go b/plugins/aoc/aoc.go index 0459560..e91d287 100644 --- a/plugins/aoc/aoc.go +++ b/plugins/aoc/aoc.go @@ -65,7 +65,7 @@ func (p *AOC) aocCmd(r bot.Request) bool { }) gold, silver, bronze := -1, -1, -1 - goldID, silverID, bronzeID := "", "", "" + goldID, silverID, bronzeID := -1, -1, -1 for _, m := range members { if m.LocalScore > gold { gold = m.LocalScore