mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
show lover user as a string
This commit is contained in:
parent
07c2b71882
commit
66f7a45f60
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ userSchema.method("getAchievements", async function () {
|
|||
let dim = 0;
|
||||
|
||||
for (let i = 0; i < images.length; i++) {
|
||||
await ctx.drawImage(images[i], dim, 10, 350, 200);
|
||||
ctx.drawImage(images[i], dim, 10, 350, 200);
|
||||
dim += 200;
|
||||
}
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ class Profile extends BaseCommand {
|
|||
},
|
||||
{
|
||||
name: interaction.translate("economy/profile:LOVER"),
|
||||
value: !userData.lover ? interaction.translate("common:NOT_DEFINED") : lover.getUsername(),
|
||||
value: !userData.lover ? interaction.translate("common:NOT_DEFINED") : lover.toString(),
|
||||
inline: true,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue