Files
aurorabot/api
syntaxbullet f0bfaecb0b
Some checks failed
Deploy to Production / test (push) Failing after 31s
feat: add settings page with guild config, game settings, and command toggles
Implements the full admin settings page covering all game settings
(leveling, economy, inventory, lootdrops, trivia, moderation, commands)
and guild settings (roles, channels, welcome message, moderation,
feature overrides). Includes role/channel pickers, trivia category
multi-select, and a feature override flag editor.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 12:45:23 +01:00
..

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 statistics
  • GET /api/settings - Bot configuration
  • GET /api/users - User data
  • GET /api/items - Item catalog
  • GET /api/quests - Quest information
  • GET /api/transactions - Economy data
  • GET /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