This commit is contained in:
Dragon Fire
2020-05-20 09:41:57 -04:00
parent e52d8b9090
commit c3b46b2351
+1 -1
View File
@@ -81,7 +81,7 @@ module.exports = class AkinatorCommand extends Command {
timesGuessed++;
guessResetNum += 10;
await aki.win();
const guess = aki.answers.filter(guess => !guessBlacklist.includes(guess.id))[0];
const guess = aki.answers.filter(g => !guessBlacklist.includes(g.id))[0];
if (!guess) {
await msg.say('I can\'t think of anyone.');
win = true;