Code Monkey home page Code Monkey logo

utilibot's Introduction

utilibot

A bot which pulls the employees out of the office from BambooHR and posts them in Slack.

Interact with the bot using: ooo? or 000?

Get future dates with: ooo tomorrow? or ooo next friday? or ooo 12/8?

Start the bot with: node index.js from the command line.

utilibot's People

Contributors

mettamatt avatar

Watchers

James Cloos avatar  avatar

utilibot's Issues

Dynamic Slack Channels

The bot only posts messages to the general channel, even if you PM with the bot. Remove the hardcoded "general" channel and respond to the channel from which it came.

Where is?

Another thing that might be nice but not critical. Type in "where is metta?" and get back either "Matt Westgate is in" or "Matt Westgate is out". Easier than parsing a long list of OOO trying to decide whether or not his name is on the list.

Who's In?

On days when lots of people are out, it would be really nice to have a way to see who's in. Nice to have, but definitely not critical.

Alphabetize Output

Trying to quickly scan a long list of names (a lot are out this week!) for a particular person is difficult. It would be great if it was alphabetized :)

Show 1/2 Days

This is much trickier than it sounds and involves a refactor of the bot.

The Who's Out API call in Bamboo isn't granular. If I submit a time off request that looks like this:

M: 1 pto day
T: 0
W: 0
R: 0
F: 1 pto day

Who's Out will show me as being out for the week rather than being out M and F. Instead I need to request approved time off requests and parse their daily metadata. The issue is I think I can only parts the time-off requests for which I'm responsible for so I may need a different API Key.

Related, I sent an email to BambooHR to see if they would consider making their Who's Out API call a little smarter before I refactor the Slack Bot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.