diff --git a/src/commands/Community/lista_membros.js b/src/commands/Community/lista_membros.js index d15713e..3459248 100644 --- a/src/commands/Community/lista_membros.js +++ b/src/commands/Community/lista_membros.js @@ -53,9 +53,9 @@ module.exports = { const [rows] = await conn.execute('SELECT discord_id, discord_username, cargo FROM users'); // Altere para a sua consulta const table = new Table({ - titles: ['Level', 'Money', 'Wins'], - titleIndexes: [0, 10, 22], - columnIndexes: [0, 4, 14], + titles: ['Level', 'Money', 'Wins', 'Wins'], + titleIndexes: [0, 10, 15, 22], + columnIndexes: [0, 4, 14, 22], start: '`', end: '`', padEnd: 3 @@ -66,7 +66,7 @@ module.exports = { // table.addRow(['row.discord_id', 'row.discord_username', 'row.cargo']); //}); - table.addRow(['1234', '2', '3']); + table.addRow(['1234', '2', '3', '3']); // Use this 'embed' when sending a message to a channel. const embed = new EmbedBuilder().setFields(table.toField());