1message.channel.send({
2 "embed": {
3 "color": 12943398,
4 "fields": [
5 {
6 "name": "Information",
7 "value": "Embeds work for both text, and emoji. You can use variables too"
8 }
9 ]
10 }
11})
12
13//If you want to make your own rich embed, I would recommend the website listed below next to source
1let Embed = new Discord.MessageEmbed()
2 .setTitle()
3 .setAuthor()
4 .setColor()
5 .addField()
6 .setDescription()
7 .setThumbnail()
1const embed = new Discord.RichEmbed() //Ver 11.5.1 of Discord.js
2.setTitle("This is a title")
3.setTitle("http://tryitands.ee")
4.setDescription("This is a description")
5.setTimestamp()
6.setFooter("This is a footer")
7.setAuthor("This is the author's name", //and this its profile pic)
8.addField("This is a field", "this is its description")
9.setImage("https://cdn.discordapp.com/avatars/449250687868469258/1709ab4f567c56eaa731518ff621747c.png?size=2048")
10.setThumbnail("https://cdn.discordapp.com/avatars/449250687868469258/1709ab4f567c56eaa731518ff621747c.png?size=2048")
11<message>.<channel>.send(embed)
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 <>