images in an embed don't load
i'm creating an embed which contains an image in it. it's been working in numerous test servers, but recently they haven't been loading at all. it's an official discord URL, taken from the user who attaches an image. it works if you open it in a browser, but the image doesn't work in the embed.
11 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 OPnpm list discord.js:
node -v:
v20.8.0
Nothing we can do about this on the discord.js side
If you provide a valid URL, and Discord can fetch it, it'll appear
welp
the URL comes straight from a Discord attachment
It's possibly related to this
BleepingComputer
Discord will switch to temporary file links to block malware delivery
Discord will switch to temporary file links for all users by the end of the year to block attackers from using its CDN (content delivery network)Β for hosting and pushing malware.
it was happening before that change as well
Either way, nothing to do with discord.js
okay, well thank you
We just send whatever url you give it to discord as the embed image
Everything else is client side
it is what it is
it's strange because sometimes it loads, sometimes only works on mobile, etc.
thanks for your help