1const Discord = require("discord.js")
2
3const embed = new Discord.MessageEmbed() // Ver 12.2.0 of Discord.js
4.setTitle("This is a title")
5.setDescription("This is a description")
6.setTimestamp()
7.setFooter("This is a footer")
8.setAuthor("This is the author's name", //and this its profile pic)
9.addField("This is a field", "this is its description")
10.setImage("https://images-ext-2.discordapp.net/external/cC-YBJkH2GXnX7MHMASUM9Gle1S1im3rDJj2K54A28w/%3Fcid%3D73b8f7b19a5ccc575679c0a7fc4a673b753e4ce993f35223%26rid%3Dgiphy.mp4/https/media2.giphy.com/media/Q8bEDnj9hZd6vivXSZ/giphy.mp4")
11.setThumbnail("https://images-ext-2.discordapp.net/external/cC-YBJkH2GXnX7MHMASUM9Gle1S1im3rDJj2K54A28w/%3Fcid%3D73b8f7b19a5ccc575679c0a7fc4a673b753e4ce993f35223%26rid%3Dgiphy.mp4/https/media2.giphy.com/media/Q8bEDnj9hZd6vivXSZ/giphy.mp4")
12<message>.<channel>.send(embed) // Remove the brackets <>
1const Discord = require("discord.js")
2
3const embed = new Discord.MessageEmbed() // Ver 12.2.0 of Discord.js
4.setTitle("This is a title")
5.setURL("Title URL")
6.setDescription("This is a description")
7.setTimestamp()
8.setFooter("This is a footer", "FOOTER ICON URL")
9.setAuthor("This is the author's name", "AUTHOR ICON URL")
10.addField("This is a field", "this is its description")
11.addFields([{
12 name: "You can add as many fields you need.",
13 value: "Field description"
14}, {
15 name: "field 2",
16 vale: "field 2 description"
17}, {
18 name: "field 3",
19 vale: "field 3 description"
20} ])
21.setImage("IMAGE URL")
22.setThumbnail("THUMBNAIL URL")
23message.channel.send(embed)