mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Don't send two messages at the end of aki
This commit is contained in:
@@ -119,9 +119,9 @@ module.exports = class AkinatorCommand extends Command {
|
||||
win = false;
|
||||
break;
|
||||
} else {
|
||||
const exMsg = timesGuessed >= 3 || forceGuess ? 'I give up.' : 'I can keep going!';
|
||||
await msg.say(`Hmm... Is that so? ${exMsg}`);
|
||||
if (timesGuessed >= 3 || forceGuess) {
|
||||
if (timesGuessed < 3 && !forceGuess) {
|
||||
await msg.say('Hmm... Is that so? I can keep going!');
|
||||
} else {
|
||||
win = true;
|
||||
break;
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "119.24.1",
|
||||
"version": "119.24.2",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user