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