hubot-relayadapter

1.5.0 • Public • Published

Relay Hubot Adapter

The Relay hubot adapter allows you to use your own hubot instance with SAP Relay. The adapter listens for web socket messages using the Websocket API and subsequently POSTS the response to the backend.

Install

Add this adapter to the node_modules folder (until its availiable on a private NPM registry) in the hubot-relayadapter folder run:

$ npm install

Setup

Copy files: Place the .hubotrc & daemon.sh files in the bin folder of hubot.

Define environment variables: Modify the environment variable for the OAUTH keys, bot names, in the hubotrc and daemon.sh files.

Run

Debug mode:

$ sh daemon.sh debug 

Background mode:

$ sh daemon.sh start

Usage

  • Open Relay, invite your bot to the channel, and ask it something using the @name of your bot e.g. @relaybot PING

Scripts

The following scripts are tested and working correctly:

Readme

Keywords

Package Sidebar

Install

npm i hubot-relayadapter

Weekly Downloads

2

Version

1.5.0

License

MIT

Last publish

Collaborators

  • paschmann