NEXUS / APIBot Platform v2.3
USER-KEY:
Developer Portal

Quick Start

Node.js ile NEXUS Gateway + REST client başlat.

Install
npm install ./sdk/nexus.js
index.js
import { Client, GatewayIntentBits } from 'nexus.js';

const client = new Client({
  token: process.env.NEXUS_BOT_TOKEN,
  apiBase: 'https://nexuschatly.com/api/v1',
  gatewayUrl: 'wss://nexuschatly.com:8081',
  intents: GatewayIntentBits.Guilds |
           GatewayIntentBits.GuildMessages |
           GatewayIntentBits.MessageContent |
           GatewayIntentBits.Interactions
});

client.on('ready', () => console.log(`${client.user.username} hazır`));
client.login();