This commit is contained in:
Bxio 2025-04-29 14:55:19 +01:00
parent 1af83171a8
commit 2d73204535

View File

@ -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] });