Send mp4 file
I have a mp4 in my directory that I want to send it but it's sending the video like this. how can I fix this
10 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!Your file is empty
It's not anymore
@Tor you need to convert that to a link
if to does not work
upload to youtube or medal
Someone tell me you must attach it
how can I do that ?
i think you need to switch the files in the reply to attachments
You want to read the file with fs and get the buffer from it
Sorry if i didnt answer previously, here's a snippet that does the job:
@Tor
Thanks G
Thank you
Your methods were working
This worked yesterday but now it throws
UND_ERR_ABORTED
. Any chance it's related to the API issues today?
ok guess I'll wait till tomorrow to check it, thnx