TypeScript bot SDK for Intent. Familiar API if you know discord.js.
Phase 1 development — gateway, REST client, structures, and rate limiting implemented. Event system wired up and tested.
import { Client } from 'intent.js';
const client = new Client();
client.on('ready', () => {
console.log(`Connected as ${client.user.username}`);
});
client.on('messageCreate', (message) => {
if (message.content === '!ping') {
message.channel.send('pong');
}
});
client.login('bot_xxxxxxxxxxxxx');- Servers, not guilds
- MessagePack encoding, not JSON
- No intents filtering yet (you get all events)
npm install
npm run build && npm run typecheck && npm run lintSee CONTRIBUTING.md
MIT