Skip to main content

Overview

Elric Discord Bot integrates with multiple external APIs to provide enhanced functionality. This section documents the bot’s API integrations and available endpoints for custom implementations.

GitHub Integration

Repository information and user data

Cryptocurrency API

Real-time cryptocurrency prices and data

Anime/Manga API

Anime and manga information lookup

Bot Endpoints

The bot provides several internal endpoints for dashboard and webhook integrations:

Authentication

All API endpoints require authentication via Discord OAuth2 or bot token:
// Bot token authentication
headers: {
  'Authorization': 'Bot YOUR_BOT_TOKEN'
}

// User authentication
headers: {
  'Authorization': 'Bearer OAUTH2_ACCESS_TOKEN'
}

Rate Limiting

API endpoints follow Discord’s rate limiting guidelines:
  • Global rate limit: 50 requests per second
  • Per-route rate limits vary by endpoint
  • Rate limit headers included in responses