Move terminal.service.ts and prune.service.ts entirely to bot/modules/ since they are Discord-specific. Split lootdrop.service.ts: pure logic (activity tracking, DB ops, claim) stays in shared/, Discord operations (message sending, channel interactions) move to bot/modules/economy/ lootdrop.handler.ts. Move effect registry/handlers/types from bot/ to shared/modules/inventory/ since they contain no Discord.js imports and are needed by inventory.service.ts in shared. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Aurora Web API
The web API provides a REST interface and WebSocket support for accessing Aurora bot data and configuration.
API Endpoints
GET /api/stats- Real-time bot statisticsGET /api/settings- Bot configurationGET /api/users- User dataGET /api/items- Item catalogGET /api/quests- Quest informationGET /api/transactions- Economy dataGET /api/health- Health check
WebSocket
Connect to /ws for real-time updates:
- Stats broadcasts every 5 seconds
- Event notifications via system bus
- PING/PONG heartbeat support
Development
The API runs automatically when you start the bot:
bun run dev
The API will be available at http://localhost:3000