From 28894efde17f238f04508a84b66d85689164157d Mon Sep 17 00:00:00 2001 From: Bxio Date: Tue, 29 Apr 2025 15:14:28 +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 644fb9d..b118fc2 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', 'Wins'], - titleIndexes: [0, 8, 16], - columnIndexes: [0, 6, 14], + titles: ['Level', 'Money', 'Wins', 'Wins', 'Wins'], + titleIndexes: [0, 8, 16, 14, 14], + columnIndexes: [0, 6, 14, 14, 14], start: '`', end: '`', padEnd: 3 @@ -66,7 +66,7 @@ module.exports = { // table.addRow(['row.discord_id', 'row.discord_username', 'row.cargo']); //}); - table.addRow(['1', '2', '31123', '3']); + table.addRow(['1', '2', '31123', '3', '3']); // Use this 'embed' when sending a message to a channel. const embed = new EmbedBuilder().setFields(table.toField());