Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically close not active open lunch #2

Open
m-aciek opened this issue May 16, 2019 · 3 comments
Open

Automatically close not active open lunch #2

m-aciek opened this issue May 16, 2019 · 3 comments

Comments

@m-aciek
Copy link

m-aciek commented May 16, 2019

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

@m-aciek m-aciek changed the title Automatically finish lunch at the end of a day Automatically finish open lunch at the end of a day May 16, 2019
@mturlo
Copy link
Owner

mturlo commented May 16, 2019

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.

@m-aciek
Copy link
Author

m-aciek commented May 16, 2019

You're right, I like your idea!

@m-aciek m-aciek changed the title Automatically finish open lunch at the end of a day Automatically close not active open lunch May 16, 2019
@m-aciek
Copy link
Author

m-aciek commented May 17, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants