1.0.0 • Published 2 years ago

rubik-dashamail v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

rubik-dashamail

Dashamail's Bot API kubik for the Rubik

Install

npm

npm i rubik-dashamail

yarn

yarn add rubik-dashamail

Use

const { App, Kubiks } = require('rubik-main');
const Dashamail = require('rubik-dashamail');
const path = require('path');

// create rubik app
const app = new App();
// config need for most modules
const config = new Kubiks.Config(path.join(__dirname, './config/'));

const dashamail = new Dashamail();

app.add([ config, dashamail ]);

app.up().
then(() => console.info('App started')).
catch(err => console.error(err));

Config

dashamail.js config example

module.exports = { host: 'https://api.dashamail.com/', // host token: 'token' // token };

## Call

```js
...
...

Extensions

Dashamail kubik doesn't has any extension.