mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
update money
This commit is contained in:
parent
c27e38aa05
commit
89c174d0d3
1 changed files with 3 additions and 3 deletions
|
@ -55,13 +55,13 @@ class Credits extends Command {
|
|||
format: "png"
|
||||
}))
|
||||
.addField(message.translate("economy/profile:CASH"), message.translate("economy/profile:MONEY", {
|
||||
money: memberData.money
|
||||
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"))}`
|
||||
}), true)
|
||||
.addField(message.translate("economy/profile:BANK"), message.translate("economy/profile:MONEY", {
|
||||
money: memberData.bankSold
|
||||
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
|
||||
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)
|
||||
.setFooter(this.client.config.embed.footer);
|
||||
|
|
Loading…
Reference in a new issue