Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
/ canipair Public archive

Holding area for slack bot that pairs up people that are free in a channel

Notifications You must be signed in to change notification settings

scottmuc/canipair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Can I Pair Bot

A GitHub bot (difference between bot and app) to find available pairs in a Slack channel.

Prepare Slack

  1. Add Configuration in the Bots application page. There you'll be able to create a value that can used for the SLACK_API_TOKEN configuration variable.

Run

  1. export SLACK_API_TOKEN=value found here
  2. go run main.go

Run on CF

  1. cf api https://api.run.pcfbeta.io
  2. cf login --sso
  3. cf target -o pivot-smuc -s development
  4. cf push --no-start
  5. cf set-env can-i-pair SLACK_API_TOKEN value found here
  6. cf restage can-i-pair

Usage

  1. Invite @can-i-pair to your channel
  2. @can-i-pair help

Bugs

  • Bot caches peoples status and does not update them. (Problem is probably in the library we use) (https://brandur.org/sdk)
  • Does not work on private channels
  • Does not consider time zones in scope of availability of the person

TODO

  1. Choose a place to store code
  2. Be able to run in a separate org / space
  3. Make the @can-i-pair this week? work
  4. Need a concourse pipeline
  5. Find mechanism to address status caching in underlying slack go library
  6. Establish token rotation schedule
  7. Broadcast interests in projects/pairing activities
  8. integrate some timezone magic

Maintainers

  • @ScottMuc

About

Holding area for slack bot that pairs up people that are free in a channel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages