Skip to content

Commit f5f1c8e

Browse files
committed
fix merge conflict
1 parent 8708d1c commit f5f1c8e

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

cogs/fun.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ class Fun(commands.Cog):
6363

6464
def __init__(self, bot: commands.Bot):
6565
self.bot = bot
66-
self.question_index = 0
6766
self._absolute_template_cache_bytes: Optional[bytes] = None
6867
self._absolute_template_cache_expires_at = 0.0
6968
self._absolute_template_cache_lock = asyncio.Lock()
@@ -154,17 +153,6 @@ def _build_absolute_gif(
154153
result.seek(0)
155154
return result
156155

157-
def get_next_question(self) -> dict[str, str]:
158-
159-
if self.question_index >= len(TRIVIA_QUESTIONS):
160-
random.shuffle(TRIVIA_QUESTIONS)
161-
self.question_index = 0
162-
163-
question = TRIVIA_QUESTIONS[self.question_index]
164-
self.question_index += 1
165-
166-
return question
167-
168156
async def _get_absolute_template_bytes(self) -> bytes:
169157
now = time.monotonic()
170158
if (

0 commit comments

Comments
 (0)