hubot-order-menu
v2.0.0
Published
Make an order for easyily record and calculate total money requirement.
Downloads
3
Readme
Hubot Order Menu
Make an order for easyily record and calculate total money requirement.
Usage
npm install hubot-order-menu
Configuration:
option
HUBOT_ORDER_MENU_STORE_INFO=[name1,phone1,Http:\\link1;name2,phone2,Http:\\link2]
Commands:
- hubot order stores - show all store info.
- hubot order <category> (<food> <note> )$<money>( for @someone ) - make an order.
- hubot order <category> del <food>( for @someone ) - delete food record
- hubot order show total( for @someone ) - show your order.
- hubot order show cate(gory) <category>( for @someone ) - show someone category's orders and calculate total money needed.
- hubot order show cate(gory) <category> all - show category's orders and calculate total money needed.
- hubot order show all - show all orders and calculate total money needed.
- hubot order show all sort by item - show all order sorted by item name.
- hubot order reset all - reset all orders.
- hubot order reset @someone - reset someone orders.
- hubot order reset my - reset your orders.
- hubot order reset category <category> - clear category.
- hubot order set discount <category> - setting category's discount.