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