Is it possible to use a local file as a thumbnail for an embedded message with DiscordJs?
\"thumbnail\": {
\"url\": \"../img/025.png\"
},
Other way to do, I hope it helps
const attachment = new Discord.MessageAttachment('fileRoute', 'nameOfYourPicture');
const embed = new Discord.MessageEmbed()
.setTitle('Nueva Tarea')
.setColor('#8fda81')
.addField('Mensaje Enviado', textoEnviar)
.attachFiles(attachment)
.setThumbnail('attachment://nameOfYourPicture');
message.channel.send(embed);