Open Mte90 opened 2 years ago
For clarification: You want a setting for the round to end once someone gets the right answer?
Yes exactly :-)
To achieve I added on https://github.com/LakeYS/Discord-Trivia-Bot/blob/master/lib/game.js#L344
this.endRound(true);
Nevermind this changes breaks the order of the questions and other things.
I guess that the issue I am facing with that change is that some stuff are not getting reset in the right way.
Probably on https://github.com/LakeYS/Discord-Trivia-Bot/blob/master/lib/game.js#L467 or because the submitanswer
is not async.
So I see that if there are some timers that don't get reset in the right way and I think that they are in another file...
As per title, instead now waits