0.1.3 • Published 5 years ago

hubot-wechat-better v0.1.3

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

hubot-wechat-better

Build Status Greenkeeper badge GitHub Version Github All Releases

Adapt with hubot using wechat robot wechat4u.

Support

  • nodejs v10+
  • hubot v3

Usage

The bot will automatically use the WeChat nickname as botname.

Install

npm install hubot-wechat-better

Configuration

You must to add a bot.config.js in root filder of your hubot project. It should to export json.

module.exports = {
  botemail: {
    host: 'smtp.example.com',
    port: 587,
    secure: false, // true for 465, false for other ports
    auth: {
      user: 'user', // 'user@example.com'
      pass: 'password'
    }
  },
  adminerEmail: 'admin@example.com'
}

Run

Use hubot -a wechat-better to start bot.

Example

You can look scripts/example.js

Development

The first, clone this repo to local.

  • install modules
npm install
  • link
npm run link
  • run example
npm start

Test

npm run test
0.1.3

5 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago