embed description

Why is the that when the embed is being sent, it gives the error of invalid body form, embeds[0].description[BASE_TYPE_REQUIRED] https://srcb.in/s1A04ASkJr However the embed object and embed description looks fine through console
SourceBin
embed description issue
Instantly share your code with the world.
3 Replies
d.js toolkit
d.js toolkit9mo 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!
lupus
lupus9mo ago
So what does embedDescription log as?
Void
VoidOP9mo ago
As it should have, correct description Sorry, after i looked through it several times i realised the issue was with me making this function into async for grabbing my db, but forgetting to await when calling this function 😅 Mb it was a clumsy overlook Thanks!
Want results from more Discord servers?
Add your server