How ronnyroq/pso-team-manager works
Key Relationships to Highlight
a) Data Flow Patterns
• Discord Events → Command Handler → Business Logic → Database
• Cache System ↔ Database
• Web Interface ↔ Backend Services
b) Integration Points
• Steam Integration (via steamUtils.js)
• External APIs (shown in various api.js files)
• Cronjob System (cronjobs.js)
Specific Implementation Details
• Hexagons for Discord-specific components
• Rectangles for core business logic
• Clouds for external services
• Rounded rectangles for web components
Component Grouping
• Match Management System
• matches/
• lineup/
• referees.js
• Team Management System
• teams/
• transfers/
• contracts.js
• League System
• league/
• season.js
• Player Management
• player/
• rating.js
• steamid.js
Additional Elements
Supporting systems:
• Configuration Management (config/)
• Utility Functions (functions/)
• Logging System (logger.js)
• Authentication/Authorization flows
Technical Stack Indicators
Technology badges for:
• Node.js runtime
• Discord.js library
• MongoDB database
• Express.js (for web interface)
• EJS templating
• Tailwind CSS