From 78fc108de47952cdeab69f4d0f9f9fd4091b69bb Mon Sep 17 00:00:00 2001 From: Ethan Burns Date: Tue, 26 Mar 2019 20:22:21 -0400 Subject: [PATCH] Don't show scores in tl;dr They are noisy and not very useful. --- plugins/tldr/tldr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tldr/tldr.go b/plugins/tldr/tldr.go index 80666eb..ebfb63e 100644 --- a/plugins/tldr/tldr.go +++ b/plugins/tldr/tldr.go @@ -103,7 +103,7 @@ func (p *TLDRPlugin) message(kind bot.Kind, message msg.Message, args ...interfa } response += fmt.Sprintf("\n*Topic #%d: %s*\n", topic, bestTopic) for i := range bestDocs[topic] { - response += fmt.Sprintf("<%s>%s [%f]\n", bestDocs[topic][i].user, bestDocs[topic][i].body, bestScores[topic][i]) + response += fmt.Sprintf("<%s>%s\n", bestDocs[topic][i].user, bestDocs[topic][i].body) } }