get EmbedBuilder from Embed object
is it possible to get an embed builder instance from an embed object?
I am trying to edit an already sent message's embed using the EmbedBuilder methods.
Example:
9 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.EmbedBuilder.from(embed)
Like EmbedBuilder.from(previousEmbed).setTitle(...)
Nothing about a from method in the docs, but i will try that
ty 🙂
Documentation suggestion for @yibuh: (static) EmbedBuilder.from()
Creates a new embed builder from JSON data
Right here
oh thank you
I was looking for it on the builders section
my bad
(intermediate value).from is not a function
it's a static method
oh
and how can I access it?
EmbedBuilder.from
not an instance, the class itself