Instruction file imported from numikok/warehouse-telegram-bot (
.cursor/rules/01-project-overview.mdc). Copyright stays with the author.
Manufacturing Management Bot
This Telegram bot is designed to manage a manufacturing facility's operations, including materials tracking, production processes, and defect handling.
Core Functionality
- Production Management: Tracking manufacturing operations
- Materials Management: Handling inventory of panels, films, joints, and glue
- Defect Tracking: Recording and managing manufacturing defects
- User Roles: Different access levels for various factory roles
Key Files
-
Main Bot Files:
- main.py - Bot initialization and basic handlers
- states.py - FSM state definitions for all workflows
- navigation.py - Menu navigation system and keyboard layouts
-
Role-specific Handlers:
- handlers/production.py - Production process management
- handlers/warehouse.py - Warehouse operations
- handlers/sales.py - Sales management
- handlers/orders.py - Order processing
-
Data Management:
- models.py - Database models
- database.py - Database connection handling