discord.js send attachment with url code example
Example: discord.js get attachment url
message.attachments.forEach(attachment => {
const ImageLink = attachment.proxyURL;
message.channel.send(`\`${ImageLink}\``).catch(error)
});
message.attachments.forEach(attachment => {
const ImageLink = attachment.proxyURL;
message.channel.send(`\`${ImageLink}\``).catch(error)
});