This commit is contained in:
parent
f8da849313
commit
21982ddeae
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user