How do I use a local image on a discord.js rich embed?
Updated Luke’s code to Discord.js v12 for anyone else in 2020 who has this same problem const attachment = new Discord .MessageAttachment(‘./card_images/sample.png’, ‘sample.png’); const embed = new Discord.MessageEmbed() .setTitle(‘Wicked Sweet Title’) .attachFiles(attachment) .setImage(‘attachment://sample.png’); message.channel.send({embed});