Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Update readme and slack images
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonshatch committed Sep 6, 2017
1 parent cd8c3bf commit 4ee5e4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ Josh: hubot what's next week's beerbods?
Hubot: Next week's beer is Drygate, Axman IPA - https://beerbods.co.uk/next-weeks-beer
```
![Preview in irc/xmpp](./img/nonslack.png?raw=true)
If you're using Slack, you'll be treated to a picture of the beer and a link to search for it on [Untappd](http://untappd.com).
Providing Untappd API keys (with configuration shown below) will enable looking up more info about the beer from Untappd. (If more than one match is found for the Beerbods name on Untappd, the link to search will be sent instead)
If you're using Slack, you'll be treated to a picture of the beer(s) and a link to search for it/them on [Untappd](http://untappd.com).
![Preview in Slack](./img/slack.png?raw=true)


Expand All @@ -25,8 +24,6 @@ When used with Slack, the following environment variables offer configuration:

* `HUBOT_DISABLE_BEERBODS_CUSTOM_IDENTITY` - The script will, by default, override the username of hubot to 'beerbods' and set the image to :beers:,
this can be disabled (mainly useful for XMPP/IRC bridges) by setting this to true
* `HUBOT_BEERBODS_UNTAPPD_CLIENT_ID` - optional, if set with a valid Untappd client ID and secret, the beer rating, ABV and description will be looked up from Untappd
* `HUBOT_BEERBODS_UNTAPPD_CLIENT_SECRET` - optional, see `HUBOT_BEERBODS_UNTAPPD_CLIENT_ID`

Not using Slack? There's no configuration, and it's fine to ignore the npm warning:
>npm WARN hubot-beerbods@\<version\> requires a peer of hubot-slack@\<version\> but none was installed
Expand Down
Binary file modified img/slack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4ee5e4c

Please sign in to comment.