Skip to content

Commit

Permalink
id-hint fix - actually tested this time
Browse files Browse the repository at this point in the history
  • Loading branch information
Aegyo committed Apr 9, 2024
1 parent c38ff3e commit ab67f16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion other/quiz/quiz.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ const newQuiz = async (guild, reoccur = false) => {

const incorrectFilter = quiz_channel.createMessageCollector({ filter: (m) => !filter(m), time: time_limit});
incorrectFilter.on('collect', async m => {
const user = m.author;
// stop doing emoji when we're already done pls thx you
if (winners.has(user.id) || m.createdTimestamp - finished > ANSWER_TIME_LIMIT) {
if (finished && (winners.has(user.id) || m.createdTimestamp - finished > ANSWER_TIME_LIMIT)) {
return;
}

Expand Down

0 comments on commit ab67f16

Please sign in to comment.