renaudbedard / swillbot

SwillBot, your friendly neighborhood Untappd Slack bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwillBot

A slack bot for light Untappd integration, written using Node.js, Express and deployed on Heroku.

Features

Note: Most queries use a delayed response callback, so the immediate response will be a Working... message that is only shown to the calling user. This avoids the 3 second timeout on Slack slash command response.

/untappd

Note: The bot uses the following custom emojis for more detail and visual uniformity : :fullbeer:, :threequarterbeer:, :halfbeer: and :quarterbeer:.

Simple query

Simple query

Performs a beer search for the given query, grabs the top result and prints out a post with link to the beer page with some inline metadata.

Multiple query

Multi-query

You can also search for multiple beers in one request by separating your queries with commas.

/username

Username

Registers a Slack user's Untappd username so that `/review` can be used.

/review

Own review

Own review

Fetches the latest Untappd check-in for the calling user for the requested beer, as well as its aggregate score over all check-ins.

Other user's review

Other review

Fetches the latest Untappd check-in for _another_ registered user for the requested beer, as well as its aggregate score over all check-ins.

Everyone's review

All reviews

Fetches the latest Untappd check-in for _all_ registered users for the requested beer, beer as well as its aggregate score over all check-ins.

Variants or vintages

Variants and vintages

If the queried beer wasn't checked in by a user, its variants and vintages will be tested for check-ins.

Installation procedure

Not meant for public consumption just yet! I'll write a guide once it is.

About

SwillBot, your friendly neighborhood Untappd Slack bot


Languages

Language:JavaScript 100.0%