mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Fix
This commit is contained in:
@@ -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.",
|
||||
{
|
||||
"text": "Open the red box or the blue box?",
|
||||
"options": ["red", "blue", "red box", "blue box"],
|
||||
"paths": ["red", "blue", "red", "blue"]
|
||||
"options": ["Red", "Blue"],
|
||||
"paths": ["red", "blue"]
|
||||
}
|
||||
],
|
||||
"red": [
|
||||
|
||||
@@ -84,7 +84,7 @@ module.exports = class BoxChoosingCommand extends Command {
|
||||
new ButtonBuilder().setCustomId('true').setLabel('Yes').setStyle(ButtonStyle.Success),
|
||||
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;
|
||||
try {
|
||||
buttonPress = await gameMsg.awaitMessageComponent({
|
||||
|
||||
Reference in New Issue
Block a user