⚙ A Node.js script that collects and saves all images from a specified Discord channel.
- Downloads all images from message attachments, embeds, and URLs in a specified channel
- Displays "currently downloading" status for each file
- Skips files that have already been downloaded
- Skips files larger than a configurable size limit
- Works with all common image formats (jpg, png, gif, webp, etc.)
- Node.js (v16.6.0 or higher recommended)
- Install node.js
- Clone Project
- Run
npm i - Run
node index.js - Configure
TOKEN,CHANNEL_ID,DOWNLOAD_FOLDER,MAX_FILE_SIZE_MBin index.js according to your needs - Done! Your photos should appear on your console and the files should start downloading!
Important
Make sure that your bot has Message Content Intent enabled in the Discord Developers Dashboard