Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 800 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 800 Bytes

Breakfastbot

Every Monday the Distran team has breakfast together at the office, with one person responsible for bringing (fresh!) food items.

This logistical challenge obviously mandated the use of ChatOps, hence I created this Zulip chatbot! 😀

Features

  • Allows team members to sign on / off from events
  • Chooses a responsible person for each breakfast
  • Announce attendees / bringer each Thursday at 10:00

Scheduling algorithm

Given a set of attendees, the attendee with the highest count of events attended since last bringing breakfast (or total events attended, if they never brought breakfast) is chosen to bring breakfast.

Deployment

Requires a postgres database. Also requires Zulip bot credentials. See test-config.edn for configuration.