mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 13:56:25 +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;
|
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
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user