Open kennethjiang opened 1 year ago
If the resolution of the content is client side, then this should be an easy fix. If that URL is being passed up the Discord endpoint and processed there, there may be some XSS checks that squelch the execution of the parameterized URL. Or it could be something as silly as not finding the URL ending with a valid image file extension. I'll see what I can dig into on the client lib.
Would love to have image snippets in my obico discord notifications, that would be awesome.
It looks like some subtle change in Discord API that has broke the image attachment function.
Steps to reproduce:
The message sent won't have the image.
If
is changed to a simpler image url, such as
the message will have the image correctly attached.
My best guess is some recent change in Discord API has broken its previous behavior. This looks more like a bug in Discord API, so we could just wait it out until Discord fixes it. But it's also possible that it's a "feature" by their design.
Help wanted as we don't have time to dig much deeper atm.