0.1.0 • Published 6 years ago
jsdoctr v0.1.0
JsDoctr
Very much in development.
Usage
- Install the library
npm install jsdoctr
- Make up a custom key
yourprojectkey
- 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