diff --git a/src/commands/Community/lista_membros.js b/src/commands/Community/lista_membros.js index 2561e90..6cede68 100644 --- a/src/commands/Community/lista_membros.js +++ b/src/commands/Community/lista_membros.js @@ -51,11 +51,11 @@ module.exports = { const table = new Table({ titles: ['Level', 'Money', 'Wins'], - titleIndexes: [0, 8, 16], - rowIndexes: [0, 6, 14], + titleIndexes: [0, 10, 20], // larguras de coluna mais generosas + rowIndexes: [0, 10, 20], start: '`', end: '`', - padEnd: 3 + padEnd: 2, // suficiente para espaçar sem quebrar formatação }); table.addRow(['1', '$120', '2']); @@ -64,11 +64,7 @@ module.exports = { const embed = new MessageEmbed().addFields(table.field()); - // Use this 'embed' when sending a message to a channel. - - - console.error(embed); - await interaction.editReply(`\n${embed}\n`); + await interaction.editReply({ embeds: [embed] });