How 3lig7a/vip-e-sport works
VIP E-SPORT is a Discord server-management bot with a web dashboard. Members and administrators invoke Discord commands or use the dashboard to configure server features; the bot applies those features in Discord and persists server state in MongoDB. The graph emphasizes README-documented capabilities and sampled bot internals. Dashboard-to-API links are documented by the API excerpt, but its client wiring and several bot subsystems were not sampled, so uncertain connections are omitted.
Main entry points: commands/index.ts Bot commands · database/index.ts Database access · api/index.ts Dashboard API · engine.ts Leveling
Components 21
Interaction surfaces
- Bot commands
src/commands/index.ts - Server dashboard
panel/app/s/[guildId]/page.tsx - Dashboard API
src/api/index.ts
Server capabilities
- Streamer alerts
src/services/AlertService.ts - Server logging
src/logging/dispatcher.ts - Security controls
src/security/antiNuke.ts - Moderation
src/moderation/warn.ts - Tickets
src/tickets/manager.ts - Role panels
src/roles/panels.ts - Community tools
src/community/autoRoles.ts - Embeds and say
src/commands/util/say.ts - Leveling
src/levels/engine.ts - Giveaways
src/giveaways/service.ts - Music
src/music/service.ts - Tournaments
src/tournaments/service.ts
Bot internals
- Database access
src/database/index.ts - MongoDB schemas
src/database/schema.ts - Discord UI kit
src/ui/kit.ts
Persistent state
- MongoDB
Other components
- Discord users
- Discord platform
Connections 29
- Discord users → Bot commands: invoke commands
- Bot commands → Discord platform: responds in
- Bot commands → Streamer alerts: configure alerts
- Bot commands → Server logging: configure logs
- Bot commands → Security controls: configure security
- Bot commands → Moderation: run moderation
- Bot commands → Tickets: manage tickets
- Bot commands → Role panels: configure roles
- Bot commands → Community tools: configure community
- Bot commands → Embeds and say: compose messages
src/commands/util/say.ts - Bot commands → Leveling: configure leveling
- Bot commands → Giveaways: manage giveaways
src/giveaways/service.ts - Bot commands → Music: control music
- Bot commands → Tournaments: manage tournaments
- Discord users → Server dashboard: configure server
- Server dashboard → Dashboard API: requests settings
- Dashboard API → Security controls: reads security
src/api/index.ts - Dashboard API → Leveling: reads levels
src/api/index.ts - Dashboard API → Tournaments: reads tournaments
src/api/index.ts - Streamer alerts → Discord platform: delivers alerts
- Server logging → Database access: loads log settings
src/logging/dispatcher.ts - Leveling → Database access: records XP
src/levels/engine.ts - Tickets → Database access: stores ticket state
src/tickets/manager.ts - Giveaways → Database access: stores giveaway state
src/giveaways/service.ts - Music → Database access: uses persisted settings
src/music/service.ts - Tournaments → Database access: stores tournament state
src/tournaments/service.ts - Database access → MongoDB schemas: uses schemas
src/database/index.ts - Database access → MongoDB: reads and writes
src/database/index.ts - Bot commands → Discord UI kit: builds Discord UI