Don't show scores in tl;dr

They are noisy and not very useful.
This commit is contained in:
Ethan Burns 2019-03-26 20:22:21 -04:00 committed by GitHub
parent 976ed02e72
commit 78fc108de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) response += fmt.Sprintf("\n*Topic #%d: %s*\n", topic, bestTopic)
for i := range bestDocs[topic] { 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)
} }
} }