From 2d732045352330ae5446c0c961c381ec22a8affc Mon Sep 17 00:00:00 2001 From: Bxio Date: Tue, 29 Apr 2025 14:55:19 +0100 Subject: [PATCH] --- src/commands/Community/lista_membros.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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] });