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?
No description
17 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! - Marked as resolved by OP
Requiem
Requiem9mo ago
use AttachmentBuilder
No description
Requiem
Requiem9mo ago
in v14
Solar
SolarOP9mo ago
Ok I need to replace { file: to { name: ?
Requiem
Requiem9mo ago
The image I sent is literally how you would do it, its from update v13 to v14 docs
Solar
SolarOP9mo ago
Ok, let me try doing by the image
Requiem
Requiem9mo ago
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
Solar
SolarOP9mo ago
That's the problem? Ok
Requiem
Requiem9mo ago
No I don’t think that is the problem, it’s just a rule of thumb per say
Solar
SolarOP9mo ago
It keep saying "Application didn't respond" but the bot is online, if use another command it work perfectly right
Requiem
Requiem9mo ago
If no error u r missing conclusion to interaction, or interaction reply, if there is error paste it
Solar
SolarOP9mo ago
I find it It was bcuz i forget to remove the placeholder name from the intarction But Still not working
Solar
SolarOP9mo ago
This error show up
No description
The Gobbler
The Gobbler9mo ago
Error is pretty self explanatory, you’re trying to edit or followUp an interaction reply that hasn’t been sent or deferred
Solar
SolarOP9mo ago
Oh
Solar
SolarOP9mo ago
It works now!
No description
Solar
SolarOP9mo ago
Thanks!
Want results from more Discord servers?
Add your server