hubot-dropbox-notifier adds a Dropbox notifier plugin to hubot that reports whenever a file gets removed or updated (new upload or new version).
Edit the package.json
for your hubot and add the hubot-dropbox-notifier
dependency.
"dependencies": {
"hubot-dropbox-notifier": ">= 0.0.1",
...
}
The following variables are required to let the script work:
HUBOT_DROPBOX_NOTIFIER_ROOMS
, comma separated list of rooms where incoming updates should be postedHUBOT_DROPBOX_NOTIFIER_KEY
, Dropbox app keyHUBOT_DROPBOX_NOTIFIER_SECRET
, Dropbox app secretHUBOT_DROPBOX_NOTIFIER_TOKEN
, Dropbox authenticated user tokenHUBOT_DROPBOX_TOKEN_SECRET
, Dropbox authenticated user token secret
The following variables are optional:
HUBOT_DROPBOX_NOTIFIER_REFRESH_INTERVAL
, refresh interval in seconds, default to 60 seconds.