Attachment not being sent
I have been trying to send a attachment of some backup data in one of the channels, however every time it sends the message content but the backup attachment is never there, no error as well that it couldn't send the attachment or something
9 Replies
- 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 staff.send takes a single object
And you dont need to fetch the channel, they're cached by the Guilds intent
and attachment builder takes an object as second param
Trying it like this now
And it's finally giving some TypeError of undefined Symbol.asyncIterator
What is wrong?
please read the docs, dont just guess
I thought your explanation was not enough and was confused, but after reading it seriously and trying a few times it worked
Thanks a lot
:Dance_TJN: