Embed not working (since update)

TypeError: (intermediate value).setDescription(...).setAuthor(...).setThumbnail(...).setColor(...).addField is not a function
TypeError: (intermediate value).setDescription(...).setAuthor(...).setThumbnail(...).setColor(...).addField is not a function
With just
const weatherinfo = new EmbedBuilder()
.setDescription('The weather right now!')
.setAuthor({ name: `Weather Forecast For ${current.observationpoint}` })
.setThumbnail(current.imageUrl)
(...)
const weatherinfo = new EmbedBuilder()
.setDescription('The weather right now!')
.setAuthor({ name: `Weather Forecast For ${current.observationpoint}` })
.setThumbnail(current.imageUrl)
(...)
3 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs3y ago
method EmbedBuilder#addFields() Appends fields to the embed
Miniontoby
MiniontobyOP3y ago
- [email protected] - node v17.4.0 ? Yes ecuasse updated to that version but why is addField gone? Is there a easy way to fix this? Just maube using the eslint? Idk Yes it kind of has but it didnt even see this error But this fixed my issue! Thx It just doesnt make sense to just addFields for 1 field (in my other scripts)
Want results from more Discord servers?
Add your server