Post daily menu to several media. E.g. Pushbullet, HipChat, Slack, stdout
.
You need to set these env vars based on which chat service you want to use:
- HIPCHAT_URL:
https://MYORG.hipchat.com/v2/room/MYROOM/notification?auth_token=MYTOKEN
- SLACK_URL:
https://hooks.slack.com/services/MYSLACKWEBHOOKURL
- PUSHBULLET_TOKEN:
8ab92981655adc3b28c2d4ae111fa393
- CONSOLE_OUTPUT:
true
Then call the script:
$ bin/antares.sh
or use the function exported in antaresbot.js
like:
$ node -e "require('./antaresbot')().then(process.exit);"