📌  相关文章
📜  discord.js 编辑嵌入消息 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:50.143000             🧑  作者: Mango

代码示例2
const countdownEmbed = new MessageEmbed()
    .setDescription('test1')

const countdownEmbed2 = new MessageEmbed()
    .setDescription('test2')
    .setColor('RED')

message.channel.send({ embed: countdownEmbed }).then((msg) => {
    setTimeout(function () {
        msg.edit(countdownEmbed2);
    }, 1000)
})