Installation instructions:
- Clone this repository and create a ".env" file in the root directory
- Create a new Slack app here by clicking on "Create New App"
- Choose "From a manifest" and paste in the included app_manifest.json
- Copy the Signing Secret into ".env" prefixed by "SIGNING_SECRET="
- Under App-Level Tokens select "Generate Token and Scopes", name it "telescope-socket" and add the "connections:write" scope
- Copy the new token into ".env" prefixed by "SLACK_APP_TOKEN="
- Navigate to Install App on the side bar, and install the app into your Slack Workspace
- Copy the Bot User OAuth Token into ".env" prefixed by "SLACK_BOT_TOKEN="
- Create a private #observatory channel and public #telescopes channel
- Set the OBSERVATORY_CHANNEL_ID and BROADCAST_CHANNEL_ID in app/config.py with the ids of the channels you just created
- Add the Telescope bot/app to both channels
- Start the Telescope bot by running
python -m app
from the root project directory - (Optional) Automate the bot using the provided slack-telescope.service file