hubot-slack-relay
Hubot script to relay messages between Slack servers.
Last updated 5 years ago by davidkassa .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-slack-relay 
SYNC missed versions from official npm registry.

Hubot Slack Relay

A script to relay messages from a local channel to a remote channel on a separate slack server without an account. This script is designed specifically for use with Hubot and the Slack adapter.

Features

  • Multiple local channels can relay to multiple remote channels
  • No need for additional bots
  • Accounts not required on each slack server

Installation

npm install hubot-slack-relay

Then add "hubot-slack-relay" to external-scripts.json

Commands

Adding Relays

Adds a relay from the local channel to the remote channel. The remote token will be the same token as the remote HUBOT_SLACK_TOKEN.

NOTE: Tokens are private and this should be setup via Direct Messaging.

hubot relay add <local-channel> <remote-channel> <remote-token>

Remove Relays

Removes relays from the local channel specified. All remote channels can be removed or single remote channels can be removed one by one.

hubot relay remove <local-channel> [<remote-channel>]

List Relays

Show all existing local server to remote server relay mappings and a partial token listing in case of duplicates.

hubot relay list

Configuration

If you're using the hubot-auth script, you can get the user IDs required for the HUBOT_AUTH_ADMIN setting by calling the users.list API method.

Users can be part of the admin group or a custom group named relay can be created.

Current Tags

  • 0.0.13                                ...           latest (5 years ago)

13 Versions

  • 0.0.13                                ...           5 years ago
  • 0.0.12                                ...           5 years ago
  • 0.0.11                                ...           5 years ago
  • 0.0.10                                ...           5 years ago
  • 0.0.9                                ...           5 years ago
  • 0.0.8                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 13
Dependencies (4)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |