v1.0.0 — Now Available on npm

Analytics for Discord Bots

Track commands, users, server counts, and uptime with a single SDK. Built for discord.js developers who want real insights.

Get Started
npm install cordia
index.ts
import { CordiaClient } from 'cordia';

const cordia = new CordiaClient({
  apiKey: 'your-api-key',
  botId: 'your-bot-id',
});

// Track a command — that's it! ✨
cordia.trackCommand({ command: 'play' });

Everything you need to understand your bot

One SDK, full visibility. From commands to uptime, track every metric that matters.

Command Tracking

Automatically track every slash command your bot processes. See which commands are most popular.

User Analytics

Monitor active users across all your servers. Understand engagement patterns and growth.

Guild Count

Track your bot's server count in real-time. Watch your growth with beautiful charts.

Heartbeat & Uptime

Automatic heartbeat monitoring every 30 seconds. Know your exact uptime percentage.

Zero Config

Just provide your API key and bot ID. Heartbeat starts automatically. Events are batched and sent efficiently.

Production Ready

Retry with exponential backoff, graceful error handling, and never crashes your bot. TypeScript first.

Start tracking in 30 seconds

Install the package, add two lines of code, and you're live.