Code Monkey home page Code Monkey logo

deathstar-canteen's People

Contributors

dependabot[bot] avatar nalla avatar

Watchers

 avatar  avatar

deathstar-canteen's Issues

Add "next" command

Description

The next command should be able to retrieve a list of menus from the database. A parameter will provide the number of days to query.

So. next 5 will get everything between today and today plus 5. A max number of 7 days can be queried. More days will spam the chat.

Examples

next 1
On *01.01.2017* the meals are:
1. Foo
2. Foobar

next 2
On *01.01.2017* the meals are:
1. Foo
2. Foobar

On *02.01.2017* the meals are:
1. Foobar
2. Foo

When it is not known what is served on the queried day, it will be state. So no day will be skipped.

Add command to list the full week or month

We should add a new command that allow us to query the current week or month. The result will be a list of all menus in that time frame. Maybe best to restrict this to private channels only because such a list could be pretty long.

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.