bearychat-hob

0.1.0 • Public • Published

Installation

Hob requires node v7.6.0 or higher for ES2015 and async function support.

$ npm install bearychat-hob

Hello Hob

const Hob = require('bearychat-hob');

(async () => {
  const app = new Hob('pass your token here');

  app.use(ctx => {
    if (ctx.status.isMentioned) {
      ctx.reply.text = 'hello world!';
    }
  });

  await app.start();
})();

Readme

Keywords

none

Package Sidebar

Install

npm i bearychat-hob

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

4.93 kB

Total Files

5

Last publish

Collaborators

  • peakybingy