mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04: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;
|
let dim = 0;
|
||||||
|
|
||||||
for (let i = 0; i < images.length; i++) {
|
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;
|
dim += 200;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@ class Profile extends BaseCommand {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: interaction.translate("economy/profile:LOVER"),
|
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,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue