dcjslib

1.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i dcjslib

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

11 kB

Total Files

10

Last publish

Collaborators

  • sei4or