NDC Developer Documentation
import { Card, CardGrid } from ‘@astrojs/starlight/components’;
Welcome to the NDC Developer Documentation. NDC (Nexoria Development Chat) provides a rich developer platform with real-time WebSocket events and REST APIs to build bots, automations, and integrations for your communities.
Quick Start
Section titled “Quick Start”Core Concepts
Section titled “Core Concepts”1. Two-Part Architecture
Section titled “1. Two-Part Architecture”- The Gateway (WebSocket): Sends real-time dispatches from NDC to your bot. Whenever someone sends a message, reacts with an emoji, or joins a voice channel, a gateway event is delivered.
- The REST API (HTTP): Used whenever your bot wants to take an action—such as sending a message, creating an invite, or modifying server settings.
2. Authentication
Section titled “2. Authentication”All bot requests to the REST API authenticate using:
Authorization: Bot <your_bot_token>Learn more about managing your credentials in Bot Authentication & Security.
3. Snowflakes
Section titled “3. Snowflakes”Every resource in NDC (users, channels, messages, guilds) is identified by a unique 64-bit integer called a Snowflake. Snowflakes contain a built-in timestamp, allowing you to easily sort items chronologically. Read the Snowflakes Guide.
4. Rate Limits
Section titled “4. Rate Limits”All endpoints are rate-limited to maintain high reliability and performance across the platform. Read Rate Limits to understand request headers and backoff handling.
Ready to build?
Section titled “Ready to build?”👉 Jump right in with Creating an Application & Bot →
