Uploading images don't work
I'm trying to make a commands that shows a image as a joke, but it keep showing this error message, how do i fix?
17 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 OPuse AttachmentBuilder
in v14
Ok
I need to replace { file: to { name: ?
The image I sent is literally how you would do it, its from update v13 to v14 docs
Ok, let me try doing by the image
btw I wouldnt use a dicord attachment link as a path to image, I’d rather save it somewhere where bot can easily access it
That's the problem?
Ok
No I don’t think that is the problem, it’s just a rule of thumb per say
It keep saying "Application didn't respond" but the bot is online, if use another command it work perfectly right
If no error u r missing conclusion to interaction, or interaction reply, if there is error paste it
I find it
It was bcuz i forget to remove the placeholder name from the intarction
But
Still not working
This error show up
Error is pretty self explanatory, you’re trying to edit or followUp an interaction reply that hasn’t been sent or deferred
Oh
It works now!
Thanks!