Slack bot for sick leave, personal leave, vacation leave and sync them to Google Calendar
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
migrations
models
vacation-bot
.gitignore
.ruby-version
Gemfile
Gemfile.lock
Procfile
app.json
rakefile
readme.md
vacationbot.rb

readme.md

Vacation Slack Bot

Slack bot for leave(sick, personal, vacation)

Commands

Leave today

@botname: I leave today

Installation

  1. Deploy
  2. Set Environment Variable on heroku instance
  • GOOGLE_CLIENT_ID your google app id
  • GOOGLE_CLIENT_SECRET your google app secret
  • GOOGLE_REFRESH_TOKEN your refresh token
  • GOOGLE_CALENDAR_ID your calendar id, set it to primary if you prefer to use your main calendar
  • SLACK_API_TOKEN your slack bot api token
  1. Activate worker from Heroku app dashboard