update profile

This commit is contained in:
JonnyBro 2021-12-24 20:57:39 +05:00
parent b496e28a7f
commit 86d846c1f8

View file

@ -54,10 +54,11 @@ class Profile extends Command {
}), member.user.displayAvatarURL({ size: 512, dynamic: true, format: "png" })) }), member.user.displayAvatarURL({ size: 512, dynamic: true, format: "png" }))
.attachFiles([{ attachment: await userData.getAchievements(), name: "achievements.png" }]) .attachFiles([{ attachment: await userData.getAchievements(), name: "achievements.png" }])
.setImage("attachment://achievements.png") .setImage("attachment://achievements.png")
.setDescription(userData.bio ? userData.bio : message.translate("economy/profile:NO_BIO")) // .setDescription(userData.bio ? userData.bio : message.translate("economy/profile:NO_BIO"))
.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
}), true) }), true)
.addField(message.translate("economy/profile:BIO"), userData.bio ? userData.bio : message.translate("economy/profile:NO_BIO"), 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
}), true) }), true)