diff --git a/plugins/newsbid/newsbid.go b/plugins/newsbid/newsbid.go index a0323fb..354f1a2 100644 --- a/plugins/newsbid/newsbid.go +++ b/plugins/newsbid/newsbid.go @@ -78,7 +78,7 @@ func (p *NewsBid) bidsCmd(r bot.Request) bool { out := "Bids:\n" for _, b := range bids { hnURL := fmt.Sprintf("https://news.ycombinator.com/item?id=%d", b.HNID) - out += fmt.Sprintf("• %s bid %s <%s|%s> (<%s|Comments>)\n", b.User, b.BidStr, b.URL, b.Title, hnURL) + out += fmt.Sprintf("• %s bid %s on %s (%s)\n", b.User, b.BidStr, b.Title, hnURL) } p.bot.Send(r.Conn, bot.Message, ch, out) return true diff --git a/plugins/newsbid/webshit/hn/api.go b/plugins/newsbid/webshit/hn/api.go index 86caf95..7c56ce2 100644 --- a/plugins/newsbid/webshit/hn/api.go +++ b/plugins/newsbid/webshit/hn/api.go @@ -36,9 +36,9 @@ func (is Items) Titles() string { for _, v := range is { hnURL := fmt.Sprintf("https://news.ycombinator.com/item?id=%d", v.ID) if v.URL == "" { - out += fmt.Sprintf("• %s %s (<%s|Comments>)\n", v.Bid, v.Title, hnURL) + out += fmt.Sprintf("• %s %s (%s)\n", v.Bid, v.Title, hnURL) } else { - out += fmt.Sprintf("• %s <%s|%s> (<%s|Comments>)\n", v.Bid, v.URL, v.Title, hnURL) + out += fmt.Sprintf("• %s %s (%s)\n", v.Bid, v.Title, hnURL) } } return out