ankit15015/IMAGE-LOGGER ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python tool for Discord that watches a server or channel and automatically saves any images that get posted, along with basic details like the time, who posted it, the channel, and any message text around it.
I want it to be easy to configure in one place, then run from the command line. It should store the images in a clean folder structure and keep a small log file or database so I can search or review what was saved later. If you need to, look up the current Discord bot docs online so the setup is correct.
Please make it focused on moderation and record keeping, not anything sneaky. Add clear setup notes, sensible defaults, and error handling so it does not break if a message has no image or the network is slow. If there is a way to preview or test it locally before running it on a real server, include that too.
Are you gonna build this?
make sure you review the code using coderabbit