A hubot script that will automatically fetch the daily Dilbert and xkcd and announce the urls in a configured list of rooms.
Add using npm
npm install hubot-daily-comic
Or via the package.json
:
"dependencies": {
...
"hubot-daily-comic": "latest",
...
}
then be sure to add to your external-scripts.json
:
[
...
"hubot-daily-comic",
...
]
HUBOT_ANNOUNCE_ROOMS - A comma separated list of rooms to announce new comics
HUBOT_DAILY_COMIC_INTERVAL - Number of seconds between checking for new comics (default is 6 hours)