Search code examples
discordmarkdown

Hyperlink Markdown dynamically in discord


I'm trying to make an embed message where the title of the video is the link. To achieve that I'm using square brackets and parentheses around the objects, but they are being shown as strings in the message. Any ideas on how this could be done?

for (let i in listaResultados){
    embed.addField(
    `${parseInt(i)+1}: [${listaResultados[i].tituloVideo}](${listaResultados[i].link})`,
     listaResultados[i].descricao)
}


Solution

  • Embed field names do not support markdown, including masked links.