From 2625671ed638bc4aacb2ec7eaf71bee5f3c17a61 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sun, 22 Dec 2019 08:01:07 -0500 Subject: [PATCH] bid: show string in bid list --- plugins/newsbid/newsbid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/newsbid/newsbid.go b/plugins/newsbid/newsbid.go index d9f877b..5c2864c 100644 --- a/plugins/newsbid/newsbid.go +++ b/plugins/newsbid/newsbid.go @@ -51,7 +51,7 @@ func (p *NewsBid) message(conn bot.Connector, k bot.Kind, message msg.Message, a sort.Slice(bids, func(i, j int) bool { return bids[i].User < bids[j].User }) out := "Bids:\n" for _, b := range bids { - out += fmt.Sprintf("%s bid %d on <%s|%s> \n", b.User, b.Bid, b.URL, b.Title) + out += fmt.Sprintf("%s bid %s on <%s|%s> \n", b.User, b.BidStr, b.URL, b.Title) } p.bot.Send(conn, bot.Message, ch, out) return true