slack-haven
relays message which posted on slack channel to other slack channel. This feature makes group DMs contained unlimited people(Usually slack group DMs contains up to 9 people).
It's useful for restricted creating private channel environment.
go get github.com/k-saka/slack-haven
-
Create group DMs which you want to relay on slack web
-
Check slack channel ID
It's contained by slack web url. If
https://slack.com/messages/XYXYXY/
is channel url,XYXYXY
is channel ID. -
Start bot
slack-haven -channel CHANNEL_X,CHANNEL_Y -token SLACK_TOKEN -log info
channel
[requirement]
comma separated slack group DM ID texttoken
[requirement]
slack api tokenlog
loglevel
slack-haven
supports reading configuration from file. It uses .slack-haven
file located home directory. Configuration file format is JSON.
Enable key
token
slack api token textrelay-rooms
group DM ID array
Example of .slack-haven
{"token": "SLACK_TOKEN", "relay-rooms": ["CHANNEL_X", "CHANNEL_Y"]}
slack-haven
currently supports message, message update, file share and add reaction feature.