update money

This commit is contained in:
JonnyBro 2021-12-30 20:11:09 +05:00
parent c27e38aa05
commit 89c174d0d3

View file

@ -55,13 +55,13 @@ class Credits extends Command {
format: "png" format: "png"
})) }))
.addField(message.translate("economy/profile:CASH"), message.translate("economy/profile:MONEY", { .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) }), true)
.addField(message.translate("economy/profile:BANK"), message.translate("economy/profile:MONEY", { .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) }), true)
.addField(message.translate("economy/profile:GLOBAL"), message.translate("economy/profile:MONEY", { .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) }), 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);