Skip to content

Receives webhooks from the blue alliance about upcoming events and scores, and posts them to slack.

Notifications You must be signed in to change notification settings

momentumfrc/TBA-Slack

Repository files navigation

TBA-Slack

Receives webhooks from the blue alliance about upcoming events and scores, and posts them to slack. Responds to the following events:

  • Upcoming Match Alert
  • Match Score Alert

Also responds to the following commands:

  • /tba score [team number]
  • /tba team [team number]
  • /tba match
  • /tba help

Setup

  1. Clone the repo into the document root for a webserver that supports PHP execution
  2. Make a slack app, add a slash command, and point it at the file respond_slack.php
  3. In auths.php, paste in your APIv3 key from the blue alliance, the webhook url setup in the bot settings for slack, and the slash command verification key from the bot settings for slack
  4. Add a tba webhook, subscribed to the events listed above, and pointing at the file respond_tba.php
  5. The most recent verification key sent by the blue alliance can be found in the file key.txt

About

Receives webhooks from the blue alliance about upcoming events and scores, and posts them to slack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages