mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 22:55:00 +05:00
update profile
This commit is contained in:
parent
b496e28a7f
commit
86d846c1f8
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue