const embed = new MessageEmbed()
.setTitle("Title")
.setURL("https://www.codegrepper.com/")
.setDescription("Description")
.addField("Title of field", "Description of field", true)
.addFields(
{ name: "Title of field", value: "Description of field"},
{ name: "Title of field", value: "Description of field", inline: true}
)
.setAuthor({ name: "Main title", iconURL: "https://i.imgur.com/2LUu1KL.png", url: "https://www.codegrepper.com/"})
.setImage("https://i.imgur.com/2LUu1KL.png")
.setThumbnail("https://i.imgur.com/2LUu1KL.png")
.setTimestamp()
.setFooter({
text: "Main title", iconURL: "https://i.imgur.com/2LUu1KL.png"
})
.setColor("00FF00");
interaction.channel.send({ embeds: [embed] });
message.channel.send({ embeds: [embed] });