0.0.8 • Published 7 years ago

node-slackbot v0.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Build Status

Slackbot for node.js using RTM API.

Install

$ npm install --save node-slackbot

Usage

var slackbot = require('node-slackbot');

var bot = new slackbot('token_goes_here');

bot.use(function(message, cb) {
  if ('message' == message.type) {
    console.log(message.user + ' said: ' + message.text);
  }
  cb();
});

bot.connect();

License

MIT © Richard McDaniel

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago