How to edit a embed field directly?

I have a embed message with some fields and I want to update only one like i were using .setTitle('title') but on fields Im trying to use .fields[0] = {.....} but its returning TypeError: Cannot read properties of undefined (reading '0')
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
edocsil
edocsil2y ago
EmbedBuilder.spliceFields is easy if you're using builders, otherwise you're not accessing .fields correctly. It's .data.fields for builders or .fields for API embeds
Want results from more Discord servers?
Add your server