A simple slack slash command responder. alerts the user to any potential enemy stands
-
npm install
-
get your team id and feed it into your process envs along with a port
-
run like
TEAM_ID=<myteam> PORT=<myport> npm start
-
follow along here and set up a slash command: https://get.slack.help/hc/en-us/articles/201259356-Slash-commands
-
point the command to
http://myhost:myport/slack/receive
-
enjoy
todo: let's make a slightly more attractive response, right?