hubot-lunchbot
An easy way to keep track of lunch in your office
Last updated 4 months ago by tholu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-lunchbot 
SYNC missed versions from official npm registry.

hubot-lunchbot Build Status dependencies Status devDependencies Status

A bot to help keep track of lunch orders for your office.

Installing

Add dependency to package.json:

$ npm install --save hubot-lunchbot

Include package in Hubot's external-scripts.json:

["hubot-lunchbot"]

Configuration

HUBOT_LUNCHBOT_CLEAR_AT  # When to clear the current lunch order, use cron style syntax (defaults to: 0 0 0 * * *)
HUBOT_LUNCHBOT_NOTIFY_AT # When to notify the HUBOT_LUNCHBOT_ROOM to start the lunch order, use cron style syntax (defaults to: 0 0 11 * * *)
HUBOT_LUNCHBOT_ROOM      # e.g. "lunch" or "general" without the "#"
TZ                       # TimeZone for cron e.g. "America/Los_Angeles"

Commands

hubot I want <food>                       # adds <food> to the list of items to be ordered
hubot @user wants <food>                  # adds <food> to the list of items to be ordered for @user
hubot restaurants                         # shows a shuffled list of restaurants
hubot remove my order                     # removes your order
hubot cancel all orders                   # cancels all the orders
hubot lunch orders                        # lists all orders
hubot who should order|pickup|get lunch?  # randomly selects person to either order or pickup lunch
hubot lunch help                          # displays this help message

Development

You can and should run tests if you change anything:

npm run test

Current Tags

  • 0.1.4                                ...           latest (4 months ago)

14 Versions

  • 0.1.4                                ...           4 months ago
  • 0.1.3                                ...           4 months ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           3 years ago
  • 0.0.7                                ...           3 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |