mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
fix leaderboards
This commit is contained in:
parent
39df50b877
commit
e3c4edfc2c
1 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ class Leaderboard extends BaseCommand {
|
||||||
money += `${data.money}\n`;
|
money += `${data.money}\n`;
|
||||||
}
|
}
|
||||||
|
|
||||||
embed.fields = [
|
embed.data.fields = [
|
||||||
{
|
{
|
||||||
name: interaction.translate("common:USER"),
|
name: interaction.translate("common:USER"),
|
||||||
value: userNames,
|
value: userNames,
|
||||||
|
@ -120,7 +120,7 @@ class Leaderboard extends BaseCommand {
|
||||||
xp.push(`${data.xp} / ${5 * (data.level * data.level) + 80 * data.level + 100}`);
|
xp.push(`${data.xp} / ${5 * (data.level * data.level) + 80 * data.level + 100}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
embed.fields = [
|
embed.data.fields = [
|
||||||
{
|
{
|
||||||
name: interaction.translate("common:USER"),
|
name: interaction.translate("common:USER"),
|
||||||
value: userNames.join("\n"),
|
value: userNames.join("\n"),
|
||||||
|
@ -163,7 +163,7 @@ class Leaderboard extends BaseCommand {
|
||||||
rep += `${data.rep}\n`;
|
rep += `${data.rep}\n`;
|
||||||
}
|
}
|
||||||
|
|
||||||
embed.fields = [
|
embed.data.fields = [
|
||||||
{
|
{
|
||||||
name: interaction.translate("common:USER"),
|
name: interaction.translate("common:USER"),
|
||||||
value: userNames,
|
value: userNames,
|
||||||
|
|
Loading…
Reference in a new issue