jsdoctr

0.1.0 • Public • Published

JsDoctr

Very much in development.

Usage

  1. Install the library npm install jsdoctr
  2. Make up a custom key yourprojectkey
  3. Include the Library, connect, and add new discord message.
 const jsDoctr = require('jsdoctr');
 jsDoctr.connect();
 const key = 'yourprojectkey';
 let messageAuthor = {
     username: msg.author.username + '#' + msg.author.discriminator,
     id: msg.author.id
 };
 jsDoctr.newMessage(jsDoctr.Message, msg.content, msg.createdTimestamp, messageAuthor, key);

Functions

New Message

newMessage(type, content, timestamp, authorArray, key)

Author Array

{
    username: username + '#' + discriminator,
    id: AuthorId
}

Readme

Keywords

none

Package Sidebar

Install

npm i jsdoctr

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

2.67 kB

Total Files

4

Last publish

Collaborators

  • unicorn808808