- After user made an order, it is appened the google sheet shared between chatbot and Chef.
- Chef can get an notification whenever there's update in the google sheet.
see code rivescript/ directory
Live demo at gitple.io : Launch Chat -> Custom Bot -> Sandwich Deliver Order
see https://github.com/gitple/gitple-bot-node/blob/master/README.md
- config files
You can set your config file as a environment variable:
BOT_MANAGER_CONFIG_FILE
- default file:
./config.json
- How to get config.json here: see https://github.com/gitple/gitple-bot-node#prerequisite
You can set your rivescript bot config file as a environment variable: BOT_SETTING_FILE
- default file:
./bot_setting.json
- Put your rivescript into
rivescript/
directory.
You can set your rivesript path as as a environment variable:BOT_RIVESCRIPT_DIR
- run
BOT_MANAGER_CONFIG_FILE=./myconfig.json \
BOT_SETTING_FILE=./mybot_setting.json \
BOT_RIVESCRIPT_DIR=./rivescript/sandwich/sandwich_order \
npm run start
store/
directory has the files which have bot instance's state. They are saved for bot recoveries.
Copyright 2017 Gitple Inc.