Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/squishy123/cps847-assignment-1
https://github.com/squishy123/cps847-assignment-1
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/squishy123/cps847-assignment-1
- Owner: Squishy123
- License: agpl-3.0
- Created: 2021-02-15T17:05:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-01T16:08:39.000Z (almost 4 years ago)
- Last Synced: 2024-10-25T19:47:42.327Z (2 months ago)
- Language: Python
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.com/Squishy123/cps847-assignment-1.svg?branch=main)](https://travis-ci.com/Squishy123/cps847-assignment-1)
## Getting Started
```
pip install -r requirements.txt
cp .env.example .env
```Then setup your environment variables.
## Setup NGROK
```
ngrok http http://127.0.0.1:5000 80
```Setup slack event subscription: https://api.slack.com/apps/A01N5EF242E/event-subscriptions?
request link is: NGROK_URL/slack/events
## Setup Slack
Features -> Incoming Webhooks -> Activate this
Scope permissions:
- app_mentions:read
- channels:history
- channels:read
- chat:write
- chat:write.public
- im:history
- incoming-webhookFeatures -> Event Subscriptions:
Subscribe to bot events:
- app_mention
- message.channels
- message.im**MAKE SURE TO INVITE THE BOT MANUALLY IN THE SLACK CHANNEL ON THE SLACK APP!**