0.3.3 • Published 10 years ago
jabbot v0.3.3
Jabbot
A Jabwire integration with Slack based off of slackbots
. When a Jabwire ticket (bug or sprint task) is posted in the integration channel, the corressponding ticket with a brief summary will be shown.
Install
$ npm install jabbot
Usage
To use this library, you'll need a Jabwire API token and a Slack token.
ES6 module
import Jabbot from 'jabbot';
// Initialize the Jabbot instance
const bot = new Jabbot({
name: 'Your_Jabbot_bot_name',
token: 'Your_Slack_token',
api: 'Your_Jabwire_API_key',
});
// Start Jabbot
bot.run();
CommonJS
var Jabbot = require('jabbot').default; // note the `.default`!
// Initialize the Jabbot instance
var bot = new Jabbot({
name: 'Your_Jabbot_bot_name',
token: 'Your_Slack_token',
api: 'Your_Jabwire_API_key',
});
// Start Jabbot
bot.run();