if (message.content == "コマンド") {
const embed = {
embed: {
title: "タイトル",
description: "サブタイトル",
color: 0xffff00,
fields: [{
name: "内容1",
value: "内容2",
inline: false,
}],
},
};
message.channel.send(embed);
}
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme