#Change in how discord links emojis?

1 messages · Page 1 of 1 (latest)

austere edge
#

I have a function on my bot that does emoji stealing. Recently had some users report that stealing an animated emoji only steals the static image now. I used to extract the emoji id and do guild.emojis.create({ attachment: https://cdn.discordapp.com/emojis/${emoji-id}, name: emoji-name }); and that worked for all emojis. But it seems discord emoji links are now of the form https://cdn.discordapp.com/emojis/{emoji-id}.webp?size=240&animated=true. Does anyone if this is behavior that was changed recently? Just confused why this broke and if I can assume the extension is always webp now

thorny pebbleBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

copper vector
#

No animated=true has been a thing for a very long time I'm pretty sure

still surge
#

providing id.gif has also been possible for quite some time

austere edge
#

Interesting

#

This was definitely working before though