📜  嵌入不和谐的消息 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:49.083000             🧑  作者: Mango

代码示例1
//command handlers dont do this if you already have them
exports.run = async (client, message, args) => {
  //define the embed with let, const, or var
  var EmbedMessage = new Discord.MessageEmbed()
    .setColor('red')
    .setImage('You can set a image view link from tenor or something just makesure it has https:// in it')
    .setURL('set a url here for ex: https://google.com/ just make sure it's https://')
    .setFooter('this part is the end of the embed you can define the bots logo and tag here by doing client.user.displayAvatarURL, client.user.tag')
    
    //finnaly now to send the message do this
    message.channel.send('EmbedMessage') //Ur embed variable name there
}