fix leaderboards

This commit is contained in:
Jonny_Bro (Nikita) 2024-03-19 19:01:45 +05:00
parent 39df50b877
commit e3c4edfc2c
Signed by: jonny_bro
GPG key ID: 3F1ECC04147E9BD8

View file

@ -79,7 +79,7 @@ class Leaderboard extends BaseCommand {
money += `${data.money}\n`;
}
embed.fields = [
embed.data.fields = [
{
name: interaction.translate("common:USER"),
value: userNames,
@ -120,7 +120,7 @@ class Leaderboard extends BaseCommand {
xp.push(`${data.xp} / ${5 * (data.level * data.level) + 80 * data.level + 100}`);
}
embed.fields = [
embed.data.fields = [
{
name: interaction.translate("common:USER"),
value: userNames.join("\n"),
@ -163,7 +163,7 @@ class Leaderboard extends BaseCommand {
rep += `${data.rep}\n`;
}
embed.fields = [
embed.data.fields = [
{
name: interaction.translate("common:USER"),
value: userNames,