Slack commands for searching beers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Slack Brewry DB search



This node application runs using node v0.12.7 or newer.

  1. Clone repo to your webserver
  2. Copy config.templ.js to config.js
  3. Set values in config.js
  4. Determine what API you want to use 1. api - Set to 'untappd' if using the Untappd API or 'breweryDb' if using Brewery DB API 2. Untappd
    1. untappd.clientId - Get from
    2. untappd.clientSecret - Ditto 3. Brewery DB
    3. brewerydb.key - Get from
  5. slackToken - Get from slack
  6. searchLimit - Change the max number of search results that should be returned
  7. urlPrefix - (Optional) If you want to run the service under a sub URL (ex. add the prefix to this config option (ex. '/bar' if using
  8. Run npm install
  9. Start sever node app

Slack Command

  1. Go to https://[company name]
  2. Setup command endpoint it to your webserver http://[domain name]:[port]/[urlPrefix]



/beer help

example command: /beer help

example response:

/[command] search Yuengling
/[command] display 16649
/[command] search SweetWater 420
/[command] help

Search for beer

/beer search [name of beer]

example command: /beer search Yuengling

example response:

Yuengling Bock Beer id:3kZwor
Yuengling Premium Beer id:2DdatF
Yuengling Light Beer id:eXMP2g
Yuengling Black id:3iNytk
Yuengling Porter id:BGTAQw

Display a beer to the entire chatroom and is linked to the corresponding API

/beer display [beer id | beer name]

example command: /beer display 3kZwor or /beer display Yuengling Bock

example response: alt tag

Display beer of the week to the entire chatroom (does not work if using Untappd API)

/beer otw

example command: /beer otw

example response: alt tag