oh
This commit is contained in:
parent
9866210ecb
commit
290df777fc
2
index.js
2
index.js
|
@ -260,7 +260,7 @@ client.on("interactionCreate", async interaction => {
|
||||||
let ledger = [];
|
let ledger = [];
|
||||||
for (let i = 0; i < rows.length; i++) {
|
for (let i = 0; i < rows.length; i++) {
|
||||||
let user = await client.users.fetch(rows[i].id);
|
let user = await client.users.fetch(rows[i].id);
|
||||||
ledger.push(`${user.username} - ${config.discord.coin}${rows[i].points}`);
|
ledger.push(`${user.username} - ${rows[i].points}`);
|
||||||
}
|
}
|
||||||
interaction.reply({
|
interaction.reply({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
|
|
Loading…
Reference in a new issue