Jeopardy: weed out more broken questions

This commit is contained in:
oddluck 2020-07-01 01:33:38 +00:00
parent 457022aa41
commit 264168209c
2 changed files with 6 additions and 0 deletions

2
.git-blame-ignore-revs Normal file
View File

@ -0,0 +1,2 @@
# Migrate code style to Black
457022aa416431c6fe78743087677c0e9fd1d752

View File

@ -222,6 +222,7 @@ class Jeopardy(callbacks.Plugin):
and not invalid
and id not in asked
and id not in self.history[channel]
and answer != "="
):
q = "{0}|{1}|{2}|{3}|{4}|{5}".format(
id, airdate, points, category, clue, answer
@ -238,6 +239,7 @@ class Jeopardy(callbacks.Plugin):
and category
and not invalid
and id not in asked
and answer != "="
):
q = "{0}|{1}|{2}|{3}|{4}|{5}".format(
id, airdate, points, category, clue, answer
@ -353,6 +355,7 @@ class Jeopardy(callbacks.Plugin):
and not invalid
and id not in asked
and id not in self.history[channel]
and answer != "="
):
q = "{0}|{1}|{2}|{3}|{4}|{5}".format(
id, airdate, points, category, clue, answer
@ -370,6 +373,7 @@ class Jeopardy(callbacks.Plugin):
and category
and not invalid
and id not in asked
and answer != "="
):
q = "{0}|{1}|{2}|{3}|{4}|{5}".format(
id, airdate, points, category, clue, answer