From cb66e740a35e30094413176cb45d47a96303198f Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 2 May 2024 00:00:38 -0400 Subject: [PATCH] Fix --- commands/games-sp/hunger-games.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/games-sp/hunger-games.js b/commands/games-sp/hunger-games.js index 422ed315..97650b38 100644 --- a/commands/games-sp/hunger-games.js +++ b/commands/games-sp/hunger-games.js @@ -61,12 +61,11 @@ module.exports = class HungerGamesCommand extends Command { ${deaths.join('\n')} `; } - text += `\n\n_Proceed?_`; const proceedRows = new ActionRowBuilder().addComponents( new ButtonBuilder().setCustomId('true').setLabel('Yes').setStyle(ButtonStyle.Success), new ButtonBuilder().setCustomId('false').setLabel('No').setStyle(ButtonStyle.Danger) ); - const gameMsg = await msg.say(text, { components: [proceedRows] }); + const gameMsg = await msg.say(`${text}\n\n_Proceed?_`, { components: [proceedRows] }); let buttonPress; try { buttonPress = await gameMsg.awaitMessageComponent({