bid: show string in bid list

This commit is contained in:
Chris Sexton 2019-12-22 08:01:07 -05:00 committed by Chris Sexton
parent 408794fe58
commit 2625671ed6
1 changed files with 1 additions and 1 deletions

View File

@ -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