embedding an manipulated image inside the box
i tried to manipulate an image and adding it to the embedded box as an attachment url but its not inside the embedded box like here

npm list discord.js and node node -v version?✅ Marked as resolved by staff const canvas = createCanvas(400, 200);
const ctx = canvas.getContext('2d');
const backgroundImage = await loadImage('./src/background.png');
ctx.drawImage(backgroundImage, 0, 0, canvas.width, canvas.height);
const userAvatar = await loadImage(member.user.displayAvatarURL({ extension: "png" }));
ctx.beginPath();
ctx.arc(200, 100, 70, 0, Math.PI * 2, true);
ctx.closePath();
ctx.clip();
ctx.drawImage(userAvatar, 130, 30, 140, 140);
const attachedImage = new AttachmentBuilder(canvas.toBuffer(), 'welcomeImage.png');
const embedWelcomeBox = new EmbedBuilder()
.setTitle(`${member.displayName}, Welcome to this great server`)
.setImage('attachment://welcomeImage.png')
.setColor(0xc36bdb)
channel.send({ embeds: [embedWelcomeBox], files: [attachedImage] });const attachment = new AttachmentBuilder('./image.png', { name: 'image1.png' });
const embed = new EmbedBuilder()
.setTitle('Attachments')
.setImage(`attachment://${attachment.name}`);
channel.send({
embeds: [embed],
files: [attachment]
});