Skip to content

An easy way to keep track of lunch in your office

License

Notifications You must be signed in to change notification settings

cagedata/hubot-lunch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-lunch

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

Installing

Add dependency to package.json:

$ npm install --save hubot-lunch

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

["hubot-lunch"]

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 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

About

An easy way to keep track of lunch in your office

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 100.0%