hubot-beerbods

2.1.0 • Public • Published

Hubot Beerbods

Build Status

A beerbods script for Hubot

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

Preview in irc/xmpp 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. Preview in Slack

Configuration

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
  • HUBOT_DISABLE_BEERBODS_PLUS - The script will, by default, send the week's Beerbods Plus beer (if there is one) in a threaded reply to the main beer of the week, this can be disabled 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

Package Sidebar

Install

npm i hubot-beerbods

Weekly Downloads

7

Version

2.1.0

License

MIT

Unpacked Size

994 kB

Total Files

14

Last publish

Collaborators

  • andersonshatch