Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

About

Slackbot for node.js using RTM API.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.