Project is used for calculating stats from Slack channels
Pre requirements: You need to have python3 installed
Create python virtual environment:
python3 -m venv .venv
Activate the env:
source .venv/bin/activate
Install required libraries:
pip install -U pip
pip install -r requirements.txt
- Use manifest.yml and upload it to the Slack.
- Authorize the app and retrieve the access token
- Store the access token in
SLACK_BOT_TOKEN
environment variable:export SLACK_BOT_TOKEN="xoxb-XYZ"
source .venv/bin/activate
export SLACK_BOT_TOKEN="xoxb-XYZ"
python main.py --help