skit-ai / ccb

Slack bot for virtual coffee pairing
GNU General Public License v3.0
8 stars 0 forks source link

+TITLE: ccb

[[https://img.shields.io/github/v/tag/Vernacular-ai/ccb.svg?style=flat-square]]

Coffee Catchup Bot (ccb) is a slack bot for virtual coffee pairing.

** Quickstart Set up env var: ~SLACK_BOT_USER_TOKEN~ with following bot token scopes:

** Workflow

+begin_src shell

Make matches using a seed (or using default)

poetry run ccb group --output-json=matches.json

Make pairs while prioritizing cross time-zone matches. Useful for

decentralized teams.

poetry run ccb pair-tz --output-json=matches.json

Post on channel

poetry run ccb post --matches-json=matches.json --channel-name=test

Send group DM for scheduling catchup

poetry run ccb dm-group --matches-json=matches.json --template-file=./assets/template.j2

+end_src

You can also skip users by adding comma separated slack user ids in the environment variable =CCB_SKIP_LIST=.