This commit is contained in:
parent
82ab2228f1
commit
2ea2965449
@ -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] });
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
},
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user