mturlo/lunchbot

Automatically close not active open lunch

Opened this issue · 3 comments

Or rather close old open lunch if created before today while trying to open new one.

What about lunches created near midnight? Like ordering a pizza at a hackathon?

I would rather add a TTL setting, like 1h after last action or something. After that period, lunchbot pokes the lunchmaster "Hey, you haven't closed your lunch! Is everything ok?". If the lunchmaster responds to bot in any way, the lunch stays open (or closed, but unfinished), otherwise the bot finishes the lunch.

You're right, I like your idea!

In case there are not paid shares, it can just poke instead of asking or closing the lunch.