show lover user as a string

This commit is contained in:
Jonny_Bro (Nikita) 2024-05-06 21:23:24 +05:00
parent 07c2b71882
commit 66f7a45f60
Signed by: jonny_bro
GPG key ID: 3F1ECC04147E9BD8
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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,
},
{