diff --git a/base/User.js b/base/User.js index 16900a3c..8faf497d 100644 --- a/base/User.js +++ b/base/User.js @@ -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; } diff --git a/commands/Economy/profile.js b/commands/Economy/profile.js index d6715167..2abf5b93 100644 --- a/commands/Economy/profile.js +++ b/commands/Economy/profile.js @@ -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, }, {