Discord.js Embed v13

So I have learned that for v13 they changed



message.channel.send({ embeds: [embed] });

But how about this type of code

await message.channel.send({
            embed: {
                color: "A color",
                title: `A title`,
                description: `A description.`,

Any idea?

It sends an array of embeds as your first example illustrates so it seems very likely that the second example wouldn’t work because it doesn’t do that.

1 Like

I see, well I will try the one that send an embed with a local image inside. Maybe with an image with an alpha composition?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.