discord.js how to make embeds code example
Example 1: how to send an embed message discord.js
let Embed = new Discord.MessageEmbed()
.setTitle()
.setAuthor()
.setColor()
.addField()
.setDescription()
.setThumbnail()
Example 2: Embed Example Discord.js
const embed = new Discord.RichEmbed()
.setTitle("This is a title")
.setTitle("http://tryitands.ee")
.setDescription("This is a description")
.setTimestamp()
.setFooter("This is a footer")
.setAuthor("This is the author's name",
.addField("This is a field", "this is its description")
.setImage("https://cdn.discordapp.com/avatars/449250687868469258/1709ab4f567c56eaa731518ff621747c.png?size=2048")
.setThumbnail("https://cdn.discordapp.com/avatars/449250687868469258/1709ab4f567c56eaa731518ff621747c.png?size=2048")
<message>.<channel>.send(embed)