Resend Messages in Another Chat
Hey! I'm having a problem downloading and uploading videos. This is code that saves an attachment in a buffer and sends it in a chat. But if I try that way, the video keeps loading infinitely. This works with images correctly.
I've tried sending the Attachment object instead of a BufferResolvable, but if I delete the original message, the one sent is broken.
Where am I making mistakes?
2 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!Ok... Regarding the file size, I already checked. They are all under 1mb.
My concern is: using just the link, will in the end be two independent files in two independent uploads? If the second message is interfered with by deleting the first one, that would be a big problem 😭
Oh, and thanks for the reply <3
Okay, I understand now
Thanks!!