kidnet.js
v0.1.0
Published
A developer library for building bots on the KidNet platform, inspired by discord.js
Downloads
6
Maintainers
Readme
kidnet.js
kidnet.js is a powerful Node.js library for building bots on the KidNet platform — designed to feel familiar to developers coming from discord.js.
📖 Features
Full EventEmitter-based bot client Gateway connection simulation (real implementation coming soon) Intents system to manage bot event subscriptions Easy-to-use API for creating KidNet bots 📦 Installation
npm install kidnet.js (For now, clone this repo locally and run it with npm start to test.)
🚀 Example Bot
const { KidNetClient, GatewayIntentBits } = require('kidnet.js');
const client = new KidNetClient({ intents: [GatewayIntentBits.Messages, GatewayIntentBits.Users] });
client.on('ready', () => {
console.log(${client.user.username} is online!);
});
client.login('your-bot-token'); 📜 Intents
GatewayIntentBits.Messages GatewayIntentBits.Users More intents will be added as KidNet evolves.
📂 Project Structure
src/client — KidNetClient and Gateway manager src/constants — Intents definitions src/structures — Message, User, etc. (coming soon) src/rest — API request handlers (coming soon) src/utils — Helper functions (coming soon) 📄 License
MIT © Jake (StetupDev
