Skip to content

Workplace status /wps is a slack command that helps teams to communicate better by setting and sharing each workers status easily.

License

Notifications You must be signed in to change notification settings

hypoport/slack-wps-py

Repository files navigation

Workplace Status (WPS)

Workplace status /wps is a Slack command that helps teams to communicate better by setting and sharing each worker's status easily.

Usage

list all commands

command description
/wps gives and overview of what wps can do for you

status

status alternatives
sick krank
vacation vacay vaca vac urlaub
offline off, afk
homeoffice ho home
remote rem rmt
workoffice office work wo

setting status

command description
/wps <status> sets <status> for today
/wps <status> from <date1> to <date2> sets <status> for the specified range
/wps <status> on <date> sets <status> on the specified date

requesting status of colleagues, groups or members of a channel

command description
/wps @john shows current status of @john
/wps @group shows current status of all members of usergroup @group
/wps @jane @john shows current status of @jane and @john
/wps @john on <date> shows status on <date> of @john
/wps @john from <date1> to <date2> shows status for the specified range
`/wps #foo shows status of all members of channel foo

CAUTION - work in progress !

All of the above is the wish list for the initial version of /wps. The current code is the result of a hackathon and needs more work on it;) Nevertheless, it's now open source so that everybody can contribute and express their interest.

Installation

TODO description of how to set all up from a client perspective

current aws parts

AWS Lambda slack-wps-py-prod-wps

deploy to amazon

run serverless deploy

To istall serverless on mac,

  • run npm install -g serverless serverless-python-requirements

Setup credentials

https://serverless.com/framework/docs/providers/aws/guide/credentials/

Roadmap

integrate with slack status

wps should interact with Slack's own status (see slack status API)

status trigger

wps should be able to trigger actions when a status is set.

command description
/wps sick <channel> will trigger a I'm sick message in <channel>

Contributing

Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Workplace status /wps is a slack command that helps teams to communicate better by setting and sharing each workers status easily.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •