Fix aki embeds

This commit is contained in:
Dragon Fire
2024-03-21 18:17:30 -04:00
parent c4fce41604
commit 3cfe4a5266
+2 -1
View File
@@ -87,7 +87,8 @@ module.exports = class AkinatorCommand extends Command {
sRow.addComponents(new MessageButton().setCustomId('end').setStyle('DANGER').setLabel('End'));
await buttonPress.editReply({
content: `**${aki.currentStep + 1}.** ${aki.question} (${Math.round(Number.parseInt(aki.progress, 10))}%)`,
components: [row, sRow]
components: [row, sRow],
embeds: []
});
try {
buttonPress = await gameMsg.awaitMessageComponent({