This commit is contained in:
Dragon Fire
2024-05-02 00:24:58 -04:00
parent f2082e25fb
commit 1f9aa600f3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -9,8 +9,8 @@
"Now. Why don't you choose?\nThe red box, or the blue box?\n\n...It's all right, you won't lose anything by picking either one. ...Come on now.", "Now. Why don't you choose?\nThe red box, or the blue box?\n\n...It's all right, you won't lose anything by picking either one. ...Come on now.",
{ {
"text": "Open the red box or the blue box?", "text": "Open the red box or the blue box?",
"options": ["red", "blue", "red box", "blue box"], "options": ["Red", "Blue"],
"paths": ["red", "blue", "red", "blue"] "paths": ["red", "blue"]
} }
], ],
"red": [ "red": [
+1 -1
View File
@@ -84,7 +84,7 @@ module.exports = class BoxChoosingCommand extends Command {
new ButtonBuilder().setCustomId('true').setLabel('Yes').setStyle(ButtonStyle.Success), new ButtonBuilder().setCustomId('true').setLabel('Yes').setStyle(ButtonStyle.Success),
new ButtonBuilder().setCustomId('false').setLabel('No').setStyle(ButtonStyle.Danger) new ButtonBuilder().setCustomId('false').setLabel('No').setStyle(ButtonStyle.Danger)
); );
gameMsg = await gameMsg.edit({ content: line, components: [proceedRows] }); gameMsg = await gameMsg.edit({ content: `${line}\n\n_Proceed?_`, components: [proceedRows] });
let buttonPress; let buttonPress;
try { try {
buttonPress = await gameMsg.awaitMessageComponent({ buttonPress = await gameMsg.awaitMessageComponent({