mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-26 04:51:09 -05:00
Jeopardy: change report reply
This commit is contained in:
parent
5c2855b394
commit
0f36bdcb06
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user