Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

zoubingwu/bearychat-hob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();
})();

About

elegant hubot framework for bearychat

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published