A time management and reminder bot for slack to help with project management and team progress
Use the following to set up a python virtual environment for Timelord.
touch .env
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtAdd the following environment variables to the .env file
SLACK_APP_TOKEN=<your slack app token>
SLACK_BOT_TOKEN=<your slack bot token>
Run app.py to launch Timelord
/helpGet this list of commands/timelogOpens a time logging form/deletelastDelete your last entry/myentries nGet a table with your last n entries (defaults to 5)
/gethoursSelect users and get their total hours logged/allusersumsGet the total hours logged by all users/getusertablesSelect users to see their last few entries/allusertableResponds with the last 30 entries from all users/leaderboard nResponds with the top n contributors and their total time logged (defaults to 10)
Change the paths in timelord.service to match where you have put it, then copy timelord.serivce into
/etc/systemd/system and finally run sudo systemctl enable timelord and sudo systemctl start timelord.
Use sudo systemctl status timelord to view the program's status.