Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

trianglefraternitymtu/slack-bridge

Repository files navigation

Slack Team Bridge Build Status Coverage Status

Application that allows you to create a bridge between two Slack teams, allowing them to be communicate in a common channel.

Local Development

Requirements:

  • Python 3.6
  • Latest version of pip for Python 3.6
  • virtualenv
  • Heroku CLI
  • Redis
  • You can use the one from your Heroku instance, if you know what you're looking for
  1. Checkout the repository
  2. Make a pyton virtual environment using virtualenv venv
  3. Install all the packages into the environment using pip install -r requirements.txt
  4. Launch the server using heroku local or heroku local -f Profile.windows

Installation

Slack App Entry

Required Scopes

  • channels:history
  • channels:read
  • chat:write:bot
  • groups:history
  • groups:read
  • im:history
  • mpim:history
  • team:read
  • users.profile:read
  • users:read
  • users:read.email
  • reactions:write
  • emoji:read

Deploy onto Heroku

Once the App has entry has been made, deploy the application onto Heroku and enter in the values from the App configuration menu from before.

Deploy

Adding it to your teams

After the server is all provisioned, head back over to the App configuration menu. Select "Manage Distribution" and click the "Add to Slack" on the right side. Do this for ever team you want the app to be installed on.

Configuration

When are prompted to authorize the app on your team, one of the options you'll be given is for an incomming webhook. This webhook will post the content from the other teams into whichever channel you select, so choose wisely where you want that to go. It's generally a good idea to make a new public channel and select that channel instead of #random or #general. After that is all completed, head over to slack and invite the new bot over to that channel that you selected with the webhook.

About

Civil Engineering in a digital age

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published