“Discord.js Kirim Embed” Kode Jawaban

cara mengirim pesan embed scord.js

let Embed = new Discord.MessageEmbed()
    .setTitle()
    .setAuthor()
    .setColor()
    .addField()
    .setDescription()
    .setThumbnail()
Xenophobic Xenomorph

Embed contoh discord.js

const embed = new Discord.RichEmbed() //Ver 11.5.1 of Discord.js
.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", //and this its profile pic)
.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)
Develify

Discord.js Kirim Embed

message.channel.send({
  "embed": {
    "color": 12943398,
    "fields": [
      {
        "name": "Information",
        "value": "Embeds work for both text, and emoji. You can use variables too"
      }
    ]
  }
})

//If you want to make your own rich embed, I would recommend the website listed below next to source
HeyItsDeveloperRhys

Jawaban yang mirip dengan “Discord.js Kirim Embed”

Pertanyaan yang mirip dengan “Discord.js Kirim Embed”

Lebih banyak jawaban terkait untuk “Discord.js Kirim Embed” di JavaScript

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya