lukekarrys / mlb-slack-status

Update your Slack status with a baseball score.
MIT License
4 stars 0 forks source link
mlb slack

mlb-slack-status

Sync you Slack status with an MLB team.

Build Status Greenkeeper badge js-standard-style

go cubs

Usage

git clone git@github.com:lukekarrys/mlb-slack-status.git
cd mlb-slack-status
npm install
cp .env.example .env
  1. Acquire a Slack token. You could setup a Slack app with a users.profile:write scope (takes some work) or use a legacy token (not so much work)
  2. Edit .env with your TOKEN and other variables (like TEAM)
  3. Bonus: upload your team's logo as an emoji in Slack and set it as EMOJI in .env
  4. npm run deploy && npm run clean (the clean part will remove any old deploys)

What it does

You should now have a server that updates your Slack status to your team's current result. That result will be one of the following:

LICENSE

MIT