From 2ea2965449f84826d805b2f51dc4f65d2fda1293 Mon Sep 17 00:00:00 2001 From: Bxio Date: Sun, 27 Apr 2025 15:42:05 +0100 Subject: [PATCH] --- src/commands/Community/lista_membros.js | 44 ++++++++++++++----------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/src/commands/Community/lista_membros.js b/src/commands/Community/lista_membros.js index 75f8b19..ebe8dc5 100644 --- a/src/commands/Community/lista_membros.js +++ b/src/commands/Community/lista_membros.js @@ -20,27 +20,7 @@ module.exports = { await interaction.deferReply({ ephemeral: true }); - const embed = new EmbedBuilder() - .setTitle('📋 Informações do Membro') - .setColor('Green') - .setDescription(` -\`\`\` -${tabelaSemBorda} -\`\`\` -`) - .setFooter({ text: 'Adicionado à base de dados ✅' }); -await interaction.editReply({ embeds: [embed] }); - -const tabela = ` -\`\`\` -| Nome | Pontos | Rank | -|------------|--------|------| -| Jogador1 | 1200 | Ouro | -| Jogador2 | 950 | Prata| -| Jogador3 | 700 | Bronze| -\`\`\` -`; @@ -72,5 +52,29 @@ const table = new AsciiTable() // Depois usas 'tabelaSemBorda' para enviar + + + +const embed = new EmbedBuilder() +.setTitle('📋 Informações do Membro') +.setColor('Green') +.setDescription(` +\`\`\` +${tabelaSemBorda} +\`\`\` +`) +.setFooter({ text: 'Adicionado à base de dados ✅' }); + +await interaction.editReply({ embeds: [embed] }); + + + + + + + + + + }, }; \ No newline at end of file