Twitter watcher bot for slack. This bot provides continuous watching specific keywords on Twitter, and output new result into Slack immediately.
Slack向けのTwitter監視botです。 Twitter上の特定のキーワードを監視し続け、結果を即座にSlackに出力します。
git clone git@github.com:spacemarket/twitter-watch-hubot.git && cd twitter-watch-hubot
npm install
heroku apps:create <app name>
- Set environment variables below (by
heroku config:add
). - Set up heroku addons.
heroku addons:create redistogo
heroku addons:create scheduler:standard
(more information)
git push heroku master
- For hubot-twitter-mention-v2
HUBOT_TWITTER_ACCESS_TOKEN_KEY
HUBOT_TWITTER_ACCESS_TOKEN_SECRET
HUBOT_TWITTER_CONSUMER_KEY
HUBOT_TWITTER_CONSUMER_SECRET
HUBOT_TWITTER_MENTION_QUERY
- Search keyword.HUBOT_TWITTER_MENTION_ROOM
- Channel name for bot's output(e.g.random
)
- For hubot-slack
HUBOT_SLACK_TOKEN
- For hubot-heroku-keepalive
TZ
- Time zone(e.g.Asia/Tokyo
)HUBOT_HEROKU_KEEPALIVE_URL
- Endpoint to keepalive your bot.HUBOT_HEROKU_WAKEUP_TIME
- optional, the time of day (HH:MM) when hubot should wake up. Default: 6:00 (6 am) (for hubot-heroku-keepalive).HUBOT_HEROKU_SLEEP_TIME
- optional, the time of day (HH:MM) when hubot should go to sleep. Default: 22:00 (10 pm)HUBOT_HEROKU_KEEPALIVE_INTERVAL
- the interval in which to keepalive, in minutes. Default: 5