0.2.2 • Published 8 years ago

bianca-hipchat v0.2.2

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

Bianca-hipchat

A hipchat connector for the Bianca bot that works standalone. Written as a ES6 class.

Inspired by Wobot (https://github.com/cjoudrey/wobot)

Usage

const Hipchat = require('bianca-hipchat');

let options = {
	jid: '<your hipchat jid>',
	password: '<password>',
	host: '<chat domain>', // chat.hipchat.com
	mucHost: '<chatroom host domain>', // conf.hipchat.com
	reconnect: '<true|false>', // *optional
	keepAliveTime: '<milliseconds>', // *optional
	logger: '<your own logging function>' // or pass the winston logger object *optional
};

let hipchat = new Hipchat(options);

hipchat.connect();

More docs to come