Oofin
October 30, 2021, 4:49pm
1
So I have learned that for v13 they changed
message.channel.send(embed);
to
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
Oofin
October 30, 2021, 5:33pm
3
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?
system
Closed
April 28, 2022, 5:33pm
4
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.