Don't send two messages at the end of aki

This commit is contained in:
Dragon Fire
2020-09-15 10:22:12 -04:00
parent d2249b41a2
commit 3f2fbaded2
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -119,9 +119,9 @@ module.exports = class AkinatorCommand extends Command {
win = false; win = false;
break; break;
} else { } else {
const exMsg = timesGuessed >= 3 || forceGuess ? 'I give up.' : 'I can keep going!'; if (timesGuessed < 3 && !forceGuess) {
await msg.say(`Hmm... Is that so? ${exMsg}`); await msg.say('Hmm... Is that so? I can keep going!');
if (timesGuessed >= 3 || forceGuess) { } else {
win = true; win = true;
break; break;
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "xiao", "name": "xiao",
"version": "119.24.1", "version": "119.24.2",
"description": "Your personal server companion.", "description": "Your personal server companion.",
"main": "Xiao.js", "main": "Xiao.js",
"scripts": { "scripts": {