'Code error I'm unsure of what is causing it

Alright, I'm a very new coder and I have an error message and I'm unsure of what it is. I've tried a lot of things. I'm unsure of what the issue is, I've checked my spelling but nothing seems to be out of the ordinary. The file I'm trying to make work in particular is the embed file, but there might be errors in the other parts causing errors.

https://imgur.com/a/BG4ppC1



Solution 1:[1]

you can use :


message.channel.send({embeds:[/* your embed name goes here */]})

to send the embeds

Solution 2:[2]

In the new version, you can't just use message.channel.send(embed) you have to be a little bit more speciic by adding { embeds : []}

message.reply({ embeds : [your_embed_goes_here]})

And if you have multiple embeds :

message.reply({ embeds : [embed1, embed2, embed3]})

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shadow_storme
Solution 2 Malik Lahlou