mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 21:24:59 +05:00
fix money
This commit is contained in:
parent
89c174d0d3
commit
62e6e8cbad
1 changed files with 3 additions and 9 deletions
|
@ -54,15 +54,9 @@ class Credits extends Command {
|
||||||
dynamic: true,
|
dynamic: true,
|
||||||
format: "png"
|
format: "png"
|
||||||
}))
|
}))
|
||||||
.addField(message.translate("economy/profile:CASH"), message.translate("economy/profile:MONEY", {
|
.addField(message.translate("economy/profile:CASH"), `**${memberData.money}** ${this.client.getNoun(memberData.money, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`, true)
|
||||||
money: `**${memberData.money}** ${this.client.getNoun(memberData.money, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`
|
.addField(message.translate("economy/profile:BANK"), `**${memberData.bankSold}** ${this.client.getNoun(memberData.bankSold, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`, true)
|
||||||
}), true)
|
.addField(message.translate("economy/profile:GLOBAL"), `**${globalMoney}** ${this.client.getNoun(globalMoney, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`, true)
|
||||||
.addField(message.translate("economy/profile:BANK"), message.translate("economy/profile:MONEY", {
|
|
||||||
money: `**${memberData.bankSold}** ${this.client.getNoun(memberData.bankSold, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`
|
|
||||||
}), true)
|
|
||||||
.addField(message.translate("economy/profile:GLOBAL"), message.translate("economy/profile:MONEY", {
|
|
||||||
money: `**${globalMoney}** ${this.client.getNoun(globalMoney, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`
|
|
||||||
}), true)
|
|
||||||
.setColor(this.client.config.embed.color)
|
.setColor(this.client.config.embed.color)
|
||||||
.setFooter(this.client.config.embed.footer);
|
.setFooter(this.client.config.embed.footer);
|
||||||
message.channel.send(embed);
|
message.channel.send(embed);
|
||||||
|
|
Loading…
Reference in a new issue