cjmabry / cronut

Cronut is a Slack bot that sets users up for a virtual coffee meeting on a recurring basis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cronut

Cronut is a bot that sets users up for a virtual coffee meeting.

Requirements

Setup

  1. Clone the repo locally
git clone git@github.com:cjmabry/cronut.git
  1. Initialize pipenv environment
cd cronut
pipenv --python 3.8
pipenv install
  1. Create local .env file with appropriate environment variables
CRONUT_OAUTH_TOKEN='xoxb-api-token-here'
CHANNEL_NAME='#channel'
  1. Run demo app
pipenv run python ./main.py

Create Slack App

Scope Permissions

This app requires the following token scope permissions:

  1. channels:join
  2. channels:read
  3. chat:write
  4. groups:read
  5. im:read
  6. mpim:read
  7. mpim:write
  8. users:read

Install app to workspace

Install the app to your workspace, and allow the permissions.

Bot OAuth Token

Save your bot user OAuth Access Token to the environmental variable CRONUT_OAUTH_TOKEN

Credits

This app was developed by Bernie 2020 alum:

  • Harry Baker
  • Yong Jung Cho
  • Hannah Fertig
  • Matt Johnson
  • Chris Mabry
  • Haley Zink

About

Cronut is a Slack bot that sets users up for a virtual coffee meeting on a recurring basis.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%