embed data is a bit strange
so, trying to edit embed from message. getting it from:
let _embed = new EmbedBuilder(interaction.message.embeds[0]);
why is it like data.data and have fields in both and they are different?8 Replies
there is a data.fields with 1 length, and data.data.fields with 6
and im trying to spliceFields, and there is a strange thing. the _embed im printing is kinda same before and after that, and i have the changed fields from spliceFields in both of them in data.fields (not data.data)
but im just getting one field in the embed im editing
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
thanks!
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
TypeError: EmbedBuilder.from is not a constructor
oh
i should remove
new
i guessUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
ty
working
thanks