Code Monkey home page Code Monkey logo

koreana-bot's People

Contributors

ianonavy avatar jbzdarkid avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

qwertystop

koreana-bot's Issues

Optional sides

As a person placing orders, I would like a way to request a Koreana or Bulgogi lunch special without the sides so that food doesn't go to waste. I don't expect to pay any less.

Real life examples:

@gene.bot special b no soup no salad no kimchee

@gene.bot special b neither

Possible alternative:

@gene.bot special b no side

Fetching historical orders does not filter by bot mention

Today, we had the following log messages:

2019-02-28 11:14:54,096 - DEBUG - [75%] "actually 10 and 3 min" => Tuna - sashimi (ian.naval)```

This corresponds to unexpected behavior where Koreana bot tries to parse orders from messages that were not intended to be orders. When fetching historical orders, Koreana bot should ignore messages that did not specifically mention the bot.

Final pricing not rounded to cents

With the new Koreana lunch special prices not ending on an even dollar, MA state tax is calculated in fractional cents. This isn't a huge deal, but we prefer to round to the nearest penny for consistency.

name      item                      price  tax     tip    total  
Person 1        Special A - salad  12.95  0.9065  1.295  15.1515
Person 2  Salmon Teriyaki - salad  11.95  0.8365  1.195  13.9815
Person 3        Special B - salad  11.95  0.8365  1.195  13.9815
Person 4          Bulgogi - salad  11.95  0.8365  1.195  13.9815
Person 5        Special A - salad  12.95  0.9065  1.295  15.1515
Person 6          Bulgogi - salad  11.95  0.8365  1.195  13.9815

Add veggie menu items

10:13
@gene.bot Soft Tofu Chigae vegetarian
gene.botAPP 10:13
@: I heard "Soft Tofu Chigae - seafood", but I'm assuming you want seafood. Say your order again if I'm wrong.
@: Your order is: Soft Tofu Chigae - seafood

Expected Soft Tofu Chigae - Vegetarian

Support random item

if only given keyword random it should pick a random meal and side. if given something it recognizes and also random it should pick a random side.

Understand edits

As an orderer, I would like Koreana bot to recognize when I've edited my message and update my order accordingly so that I don't have to repeat myself.

Real world example:

[10:16]
@ special b - salad (edited)

@ special b - salad

Requirements:

  • Bot should explicitly tell the orderer that it noticed they edited the order and confirm the update
  • Should only look back as far as the last order clear time

Multiple orders

As an orderer
I would like to order more than one item at once
so that I can get more food or share with a friend

@gene.bot i want a second special A

@ordered

Implement @ordered which takes the list of users who placed an order and pings them individually.

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.