how to get message attachment url discord js 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)
});