This is a simple script that monitors a directory. When the directory is being accessed, it will take a picture using the webcam and send it to a Discord channel using a webhook.
- Python 3
- inotify (Linux only)
- Create a webhook in your Discord channel
- Make sure the directory you want to monitor is inside the config.py file
- Run the script using
python3 dirmon.py