Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-bearychat

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-bearychat

Hubot Bearychat Adapter

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

hubot-bearychat NPM version Dependency Status

hubot-bearychat is an BearyChat adapter for Hubot

Install

Install using npm.

$ npm install hubot-bearychat --save

And start hubot with adapter bearychat

$ bin/hubot -a bearychat

Configuration

Due to lack of built-in support from BearyChat, so this adapter simulate the full conversation capability with a pair of Incoming and Outgoing Robots.

Incoming Robot

  1. Add a Incoming Robot(Purple one) to your BearyChat
  2. Copy the Hook Address url in the Robot Settings, it looks like https://hook.bearychat.com/<xxxx>/incoming/<xxxxxxx>
  3. Set the url to environment variable BEARY_CHAT_INCOMING

Outgoing Robot

  1. Add a Outgoing Robot(Black one) to your BearyChat
  2. Set the trigger word to your robot's name or robot's alias (Be careful this is case-sensitive)
  3. Set https://<your robot host>/bearychat/outgoing to the POST Request Address in your Robot Settings

**Hint: ** Adapter by default register the web hook url at /bearychat/outgoing, but this can be override with BEARY_CHAT_OUTGOING environment variable.

Test

Once you set it up, and have your robot deployed. If everything goes right, you will see Robot posts <your robot name> is online. message to your chatroom.

And if you says <robot name> adapter, it will responds bearychat.

**PITFALL: ** It robot doesn't responds, check your Outgoing Robot's trigger word, it must be aligned to your you robot's name or alias. Or Your robot cannot parse it properly. And if you are using English, you need to aware the trigger word is case-sensitive.

License

MIT

NPM downloads

Keywords

FAQs

Package last updated on 05 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc