Jeopardy: add hintNum variable to hint_template

This commit is contained in:
Gordon Shumway 2020-06-18 16:48:17 -04:00 committed by GitHub
parent f402706d00
commit a981251acc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -645,7 +645,7 @@ class Jeopardy(callbacks.Plugin):
schedule.addEvent(event, eventTime, "event_%s" % self.channel)
else:
reply = self.hint_template.render(
hint=self.currentHint, time=None, points=points
hint=self.currentHint, time=None, points=points, hintNum = self.hints
)
self.reply(reply)
self.hints += 1