A simple Lita handler that will forward any message coming from a hook
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
locales
spec
.gitignore
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
lita-hook-forward.gemspec

README.md

lita-hook-forward

Build Status Code Climate Coverage Status

lita-hook-forward is a simple Lita handler that will forward any message coming from a hook.

Installation

Add lita-hook-forward to your Lita instance's Gemfile:

gem "lita-hook-forward"

Configuration

Required attributes

  • default_room (String) - The default room or rooms (comma separated). i.e.: #general.

Example

Lita.configure do |config|
  config.handlers.hook_forwarder.default_room = '#general'
end

Usage

http://.slackserver/lita/hook-forward?targets=%23&message=Hello%20everyone

License

MIT