It will send all of the messages on Slack in #timeline. However, a private group messages does not include
Add the following code in your external-scripts.json file. ["hubot-slack-timeline"]
Note: The default hubot configuration will use a redis based brain that assumes the redis server is already running. Either start your local redis server (usually with redis-start &
) or remove the redis-brain.coffee
script from the default hubot-scripts.json
file.
type /open
and create #timeline channel in your Slack
% heroku config:add SLACK_API_TOKEN="YOUR_SLACK_API_TOKEN"
% export SLACK_API_TOKEN="YOUR_SLACK_API_TOKEN"
% export SLACK_TIMELINE_CHANNEL=timeline
% export SLACK_LINK_NAMES=1
Note: You can generate Slack API token here https://api.slack.com/