0.1.0 • Published 6 years ago

jsdoctr v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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
}
0.1.0

6 years ago