📌  相关文章
📜  嵌入示例 Discord.js - Javascript 代码示例

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

代码示例2
//top of file
const Discord = require('discord.js')

//example (inside of a command)

const embed = new Discord.Message.Embed()
embed.setAuthor(`example`)
embed.setTitle(`example`)
embed.setDescription(`example`)

message.channel.send({embed});

//there are obviously some other add-ons, such as AuthorIcon and URL.