discord.js get attachment 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)
});