DaveSeidman / sickbot

slackbot that comes up with excuses for taking a sick day

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sickbot

Setup

Sickbot is a slackbot that generates excuses for being late or taking the day off.

It can be activated by via mentions @sickbot or direct messaging it.

You should tell it whether you want to be take the day off, come in late, or work from home. The exact options it listens for are the following:

out, sick, early, late

full = ['sick', 'out'], partial = ['late', 'early'] home = ['wfh', 'home', 'stay home']

  1. goto https:/[your-company-name].slack.com/apps/manage/custom-integrations and click on bots

  2. click on "add configuration" and name your bot

  3. Create a secret.json file in the root and set it's token to the string slack provides you: { "token":"your-secret-token" }

  4. Host the bot somewhere it will stay online and running

  5. Invite bot to channels and start feeding it inspiration (@sickbot throat, nose, dog, fire)

Full slack bot users documentation: https://api.slack.com/bot-users

About

slackbot that comes up with excuses for taking a sick day


Languages

Language:JavaScript 100.0%