Now also available as a Slack app (slash command)
Joe: hubot beerbods Hubot: This week's beer is Little Beer Corporation, Little Wild - https://beerbods.co.uk/this-weeks-beer John: hubot what was last week's beerbods? Hubot: Last week's beer was Thornbridge Brewery, Kill your Darlings - https://beerbods.co.uk/last-weeks-beer Josh: hubot what's next week's beerbods? Hubot: Next week's beer is Drygate, Axman IPA - https://beerbods.co.uk/next-weeks-beer
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.
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 🍻, this can be disabled (mainly useful for XMPP/IRC bridges) by setting this to true
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