cronut
Cronut is a bot that sets users up for a virtual coffee meeting.
Requirements
- Python 3.8
- pipenv (recommended)
Setup
- Clone the repo locally
git clone git@github.com:cjmabry/cronut.git
- Initialize pipenv environment
cd cronut
pipenv --python 3.8
pipenv install
- Create local
.env
file with appropriate environment variables
CRONUT_OAUTH_TOKEN='xoxb-api-token-here'
CHANNEL_NAME='#channel'
- Run demo app
pipenv run python ./main.py
Create Slack App
Scope Permissions
This app requires the following token scope permissions:
- channels:join
- channels:read
- chat:write
- groups:read
- im:read
- mpim:read
- mpim:write
- 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