Slackbot
Slackbot wrapper for slack.com
Install
% npm install slackbot
Get Token
add slackbot integration and get token
Usage
var Slackbot = var slackbot = 'YOUR-TEAM' 'YOUR-TOKEN'; slackbot;
Sample
use sample.js
% SLACK_TEAM=teamname SLACK_TOKEN=a1b2cdef345 node sample.js "hello world"
Develop
% npm install
% npm test
# or
% npm run watch
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request