bolt-remote
bolt-remote
is a remote http server plugin for Bolt slack bot based on Hapi web framework. You can use this plugin to access your bots remotely with http requests.
Installation
First install Bolt and make it work. Then use npm
and install it:
npm install --save bolt-remote
Setup
Nothing! Bolt knows the plugins by their package name prefix. It's loading all bolt-*
modules as plugin and pass them a Bolt instance. They can modify the bot or do anything else with the instance.
Usage
This plugin adds a remote
property to your bolt instance. This remote property is a Hapi server instance which can be used to define routes and etc.
Read more about Hapi | Routing.
Contribution
You can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. :heart:
Remember to lint your code before sending pull requests. Run the Grunt eslint task with the following command and fix the lint errors if you get any.
grunt eslint