wofbot is a Slack bot that searches Who's On First records using the API.
It looks a little like this:
It is based on the official node-slack-sdk codebase, written in Node.js.
- Node.js
- A Slack team
- Sign up for a Who's On First API key
- Create a Who's On First authentication token and save it for later
- Create a new Slack bot user
- Copy the Slack bot user's authentication token and save it for later
- Do this:
cd wofbot
npm install @slack/client --save
export SLACK_API_TOKEN='...'
export WOF_API_TOKEN='...'
node index.js
Then you should be able to ask it questions in Slack, either using the direct messages feature, or by mentioning @wofbot
in a channel it's been invited to.