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