Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 675 Bytes

File metadata and controls

17 lines (14 loc) · 675 Bytes

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