The official module for interacting with the Danktronics Chat API
npm install dcjslib
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();