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
- Clone the repo into the document root for a webserver that supports PHP execution
- Make a slack app, add a slash command, and point it at the file respond_slack.php
- 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
- Add a tba webhook, subscribed to the events listed above, and pointing at the file respond_tba.php
- The most recent verification key sent by the blue alliance can be found in the file key.txt