better scorekeeping output

This commit is contained in:
Gordon Shumway 2019-06-16 01:00:02 -04:00 committed by GitHub
parent 9fc2e5066e
commit 648c41e6b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -365,8 +365,7 @@ class Jeopardy(callbacks.Plugin):
self.roundscores[name] = 0
self.roundscores[name] += self.p
self.unanswered = 0
self.reply(_('%s got it! The full answer was: %s. Points: %d') %
(msg.nick, self.a[0], self.scores[name]))
self.reply(_("{0} got it! The full answer was: {1}. Points: {2} | Round Score: {3} | Total: {4}".format(msg.nick, self.a[0], self.p, self.roundscores[name], self.scores[name])))
schedule.removeEvent('next_%s' % self.channel)
self.writeScores()
self.newquestion()