Re-sending Embed Unmodified Nevertheless Changes Its Appearance Significantly

If I copy an embed from one message and attach it to a new message (something like this):
webhook.send({ embeds:[Discord.EmbedBuilder.from(message.embed)] });
webhook.send({ embeds:[Discord.EmbedBuilder.from(message.embed)] });
I would expect to get something that looks the same out. However, the embed often differs drastically, generally getting smaller and with less information. For example: - Twitter (fxtwitter) embeds move photos into a thumbnail and reshuffle fields - Github embeds lose the title and opengraph summary image - YouTube embeds get a thumbnail but lose the ability to actually play the video - Google Docs embeds lose the title - Wikipedia embeds move images to thumbnails The consistent shrinkage feels like it's trying to be a feature, but it should not be the default behavior, and anyway in this case I need the embeds to be identical to the originals if possible. In the previous version of my bot, I was so desperate for that behavior, I resorted to recreating each embed from scratch as best I could. This is obviously horrendous, and ultimately a losing battle, not a solution. How can I control this properly?
3 Replies
d.js toolkit
d.js toolkit14mo 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!
chewie
chewie14mo ago
bots cant send webhooks like websites can, especially when it comes to youtube
imallett
imallettOP14mo ago
Not sure what you mean—do you mean that certain embeds have webhooks for certain functionality (like playing video) that a bot can't reproduce, even by copying? In any case, stuff like titles and images sizes ought to work as expected . . .
Want results from more Discord servers?
Add your server