1.0.4 • Published 6 years ago

dcjslib v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

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();
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago