This is the Lingr adapter for Hubot that allows you to interact with the Lingr bots.
- Add
hubot-lingr
as a dependency inpackage.json
- Install dependencies with
npm install
- Run hubot with
bin/hubot -a lingr
(inProcfile
if you run on Heroku)
You need the following environment variables to configure hubot:
HUBOT_LINGR_BOT
: Bot id of your Lingr botHUBOT_LINGR_SECRET
: Secret Key of your Lingr botHUBOT_LINGR_ENDPOINT
: (Optional) API path to serve Hubot commands. Defaults to/hubot/lingr
Once you run hubot with the configuration above, you should set http://you.example.com/hubot/lingr
as a callback URL on Lingr bot configuration screen.
MIT License
Tatsuhiko Miyagawa, 2014