A hubot file brain with support for cold and warm starts, as well as a few helpful commands.
In your hubot instance, run the following:
npm install --save hubot-file-brain-utils
and then add hubot-file-brain-utils
to external-scripts.json
.
When starting Hubot, provide a directory path via the environment variable HUBOT_FILEBRAIN_PATH
. This script will save Hubot state into a brain.json
file in the directory provided.