Merge pull request #173 from velour/eaburns-patch-1

Don't show scores in tl;dr
This commit is contained in:
Chris Sexton 2019-04-12 10:53:26 -04:00 committed by GitHub
commit e82d84afeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,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)
} }
} }