mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Fix
This commit is contained in:
@@ -98,8 +98,16 @@ module.exports = class TwentyQuestionsCommand extends Command {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (win === 'time') return buttonPress.editReply({ content: 'Game ended due to forfeit.' });
|
if (win === 'time') {
|
||||||
return buttonPress.editReply({ content: `**${question.winText}**\n${question.result}` });
|
return buttonPress.editReply({
|
||||||
|
content: 'Game ended due to forfeit.',
|
||||||
|
components: []
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return buttonPress.editReply({
|
||||||
|
content: `**${question.winText}**\n${question.result}`,
|
||||||
|
components: []
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
makeBaseURI(game) {
|
makeBaseURI(game) {
|
||||||
|
|||||||
Reference in New Issue
Block a user