From 21982ddeae4680a3190bb0112f349731256f0ad3 Mon Sep 17 00:00:00 2001 From: Bxio Date: Tue, 29 Apr 2025 15:49:57 +0100 Subject: [PATCH] --- src/commands/Community/lista_membros.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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());