OblivionCreator / Bulletin-Board

GNU Affero General Public License v3.0
0 stars 0 forks source link

Overflowed pins no longer embedding images #2

Closed DPS2004 closed 10 months ago

DPS2004 commented 1 year ago

At some in mid to late august, the webhook for overflowed pins stopped embedding attatched images alongside the message.

An old message, showing the expected behavior: image

The first example of a message failing to embed in this way that I could find: image

I'm not sure if this is related and I don't expect that it's fixable, but its worth mentioning that some older messages no longer display the avatar of the user inside of the embed, though the webhook avatar works fine. image

OblivionCreator commented 1 year ago

Older pins no longer displaying avatar inside the embed is likely due to that user changing their avatar later on - The bot just feeds the users' avatar URL into there (It also does this for the PFP, but I think Discord just downloads & reuploads the image in this case, making a new link)

Without either hosting the avatars myself or using a separate discord server to store avatars, there's no good way to fix this.

Embed breaking is interesting to me - The bot fetches embeds directly from the discord.Message object, so this seems to imply that the messages have no embeds in the Message Obj (which makes little sense...)

Thanks for the report - I'll take a look

OblivionCreator commented 10 months ago

Resolved in af1a6b1