# hipchat-botty

> A pluggable client-side hipchat bot.

Latest version **1.1.0** (published 2016-11-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install hipchat-botty
pnpm add hipchat-botty
yarn add hipchat-botty
bun add hipchat-botty
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2016-11-23 |
| First published | 2015-12-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Dan Villa |
| Maintainers | kingnebby |
| Keywords | hipchat, bot, nodejs, node |

## Links

- npm: https://www.npmjs.com/package/hipchat-botty
- Repository: https://github.com/kingnebby/hipchat-bot
- Homepage: https://github.com/kingnebby/hipchat-bot#readme
- Issues: https://github.com/kingnebby/hipchat-bot/issues
- npm.io page: https://npm.io/package/hipchat-botty

## Dependencies (4)

- [pluralize](https://npm.io/package/pluralize.md) ^1.2.1
- [underscore](https://npm.io/package/underscore.md) ^1.8.3
- [chuck-norris-api](https://npm.io/package/chuck-norris-api.md) 1.0.6
- [node-xmpp-client](https://npm.io/package/node-xmpp-client.md) ^3.0.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2016-11-23
- 1.0.4 — 2016-01-30
- 1.0.3 — 2015-12-17
- 1.0.2 — 2015-12-17
- 1.0.1 — 2015-12-15

## README

hipchat-bot
===========
> A pluggable client-side hipchat bot.

## Install

```js
npm install hipchat-botty
```

## Usage

If you run into errors you may need to install

 - libexpat1-dev: `apt-get install libexpat1-dev`
 - libicu-dev: `apt-get install libicu-dev`


```javascript
var Bot = require('hipchat-botty');

// Use environment vars called HB_* for your configs.
var opts = {
  jid: process.env.HB_JID,
  password: process.env.HB_PASSWORD,
  host: process.env.HB_HOST,
  mucHost: process.env.HB_MUCHOST,
}

// Creates a bot with default handlers.
var b = new Bot(opts)

// Loads some plugins from the src.
// Create your own or contribute!
var pathto = './node_modules/hipchat-botty/examples/plugins/'
b.loadPlugin('chucky', require(pathto + 'chuckjokes'))
b.loadPlugin('commands', require(pathto + 'loaded_plugins'))
b.loadPlugin('help', require(pathto + 'help'))

// Create your own listeners:
b.onMessage(/\!agree/, function(channel, from, message) {
  var self = this
  console.log(arguments);
  self.message(channel, 'I totally agree.')
})

```

## Contribute

See the readme in the examples dir for development details.

Dan Villa <dvilla@collineargroup.com>

Based heavily on [wobot](http://github.com/cjoudrey/wobot)

Github: [hipchat-bot](https://github.com/kingnebby/hipchat-bot)

---
_Source: https://npm.io/package/hipchat-botty · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
