levelcard canvacord problem

Its said Error: Avatar is required. you guys know any issue?
6 Replies
d.js toolkit
d.js toolkit4d ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
YumeNeko
YumeNekoOP4d ago
This my script
YumeNeko
YumeNekoOP4d ago
Because every time i tried to use /level commands its instantly said ✅ Connected to MongoDB. ✅ Sena#3907 is online. Avatar URL: https://cdn.discordapp.com/avatars/677466648801706004/0074676113d5011ce0a48eec9ee57358.webp?size=256 Error: Avatar is required. ^ this on my terminal
YumeNeko
YumeNekoOP4d ago
like how? const rankImage = await rankCard.build({ extension: 'png' }); like this? aah okie ill try if its work ill mark post as solved Its said TypeError: (intermediate value).setAvatar(...).setRank(...).setLevel(...).setCurrentXP(...).setRequiredXP(...).setUsername(...).setDiscriminator is not a function
treble/luna
treble/luna4d ago
Not djs related, #other-js-ts or the support server of canvacord
YumeNeko
YumeNekoOP4d ago
nvm its work now

Did you find this page helpful?