Skip to content

A Slack integration that tracks your employee's holidays through Google Calendar and API.ai.

License

Notifications You must be signed in to change notification settings

gytdau/holiday-thingy

Repository files navigation

Holiday Thingy

Build Status Code Climate Issue Count

A Slack bot that manages employee PTOs.

I made this during my work experience at Workday.

Explanation

What's a PTO?

Paid time off or personal time off (PTO) is a policy in some employee handbooks that provides a bank of hours in which the employer pools sick days, vacation days, and personal days that allows employees to use as the need or desire arises.

  • Wikipedia

The bot stores PTOs on Google Calendar, and uses api.ai for it's natural language processing. If you'd like the training data for the api.ai agent, email me, or make your own. (You'll have to run the bot on your own server.)

This project is under the MIT license.

Getting the thing running

Create a Slack integration (a bot user) on your team, and an api.ai account. Put those keys in holiday_bot/slackbot_settings.py.

Before you run it, you should install the code (including your configuration):

python setup.py install

Whenever you change your configuration, you'll have to install the code again. And then run it like this:

python holiday_bot/run.py

Tests

Technically, I suppose you could say this repo has tests. You can run them by:

python setup.py test

About

A Slack integration that tracks your employee's holidays through Google Calendar and API.ai.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages