dcjslib
v1.0.4
Published
JS client for Danktronics Chat
Downloads
4
Readme
Danktronics Chat JS Library
The official module for interacting with the Danktronics Chat API
Installation
npm install dcjslib
Example
Creating a connection and sending a message
const DC = require("dcjslib");
const client = new DC("token");
client.on("ready", () => {
console.log("Connected to Danktronics Chat.");
client.createMessage("Hey my dudes.");
});
client.on("message", data => {
console.log(data);
});
client.connect();