3692c0233d5328cdd6d105aa90fb3ba1fb80c95d
Changes: Frontend: - Added and adjusted command handlers for /start, /cat, /subscribe, /unsubscribe, and /subscription_modify - Implemented mass send function to send images for all subscribed users - Configured scheduler to call function above at 12:00 every day - Added psycopg2 error exception for each handler Backend: - Changed PostgreSQL DB Users table structure(id, chat_id, images_amount) and adjusted all functions' arguments and executes to match these changes - Added a function to fetch selected images_amount for a set chat_id - Slightly optimized GetObjectExtension function - Allowed all functions that work with currentDay to accept int values - Added a script for batch population of MinIO bucket with images from ./files/<day number>/ directory Src: - Updated requirements.txt
CatBot
This is a simple (yet-to-be-made) telegram bot that sends photos of cats to a user, with an option to subscribe for daily cat photos. User will also be able to configure subscription cat pictures quantity.
Authors
Roadmap
- API keys configuration
- Frontend
- Backend
- DB configuration
- Documentation
- Licensing
Description
Languages
Python
100%