Code Monkey home page Code Monkey logo

hubot-restaurants's Introduction

hubot-restaurants

A hubot script to help you choose from your favorite restaurants. Stores your favorite restaurants in Hubot's brain and does not rely on an API, so it will never die.

Installation

  1. Install via NPM: npm i hubot-restaurants --save

  2. Add a line to your external-scripts.json for "hubot-restaurants"

  3. Deploy your hubot

Usage

@hubot restaurant list - list known restaurants and menus

@hubot restaurant menu for {restaurant} - show the menu for a particular restaurant, quotes around the restaurant are optional

@hubot restaurant random - picks a random restaurant

@hubot restaurant add "{restaurant}" [{menu link}] - adds a restaurant with optional menu

@hubot restaurant update "{restaurant}" {menu link} - updates a restaurant's menu

@hubot restaurant delete "{restaurant}" - deletes a restaurant

Notes

  • Restaurant names are currently case-sensitive.
  • The restaurant list does not include menu links as a pile of links can cause bad behavior in some chat clients.

Environment

There are no hard requirements, however restaurants are stored in Hubot's brain. If you have persistent storage setup for Hubot's brain, then your restaurants will persist. If not, you will get the default list of our favorite restaurants in Fairport, NY. YMMV.

License

Licensed under the MIT License.

hubot-restaurants's People

Contributors

bsredbeard avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.