Jeopardy: change report reply

This commit is contained in:
Gordon Shumway 2020-02-19 15:14:39 -05:00 committed by GitHub
parent 5c2855b394
commit 0f36bdcb06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -794,9 +794,9 @@ class Jeopardy(callbacks.Plugin):
if self.games[channel].active:
r = requests.post('{0}/api/invalid'.format(self.jserviceUrl), data = {'id':self.games[channel].id})
if r.status_code == 200:
self.games[channel].reply('Question successfully reported. (Answer: {0})'.format(self.games[channel].a[0]))
self.games[channel].reply('Question successfully reported.')
else:
self.games[channel].reply('Error. Question not reported. (Answer: {0})'.format(self.games[channel].a[0]))
self.games[channel].reply('Error. Question not reported.')
self.games[channel].end()
report = wrap(report)