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

Notify User on change #5

Open
dns2utf8 opened this issue Nov 13, 2015 · 10 comments
Open

Notify User on change #5

dns2utf8 opened this issue Nov 13, 2015 · 10 comments
Assignees
Milestone

Comments

@dns2utf8
Copy link
Member

Let the user set a Notification Request for some time.

Example:
User sends the message:

/alert 2h

So the bot would alert the user within the next two hours about every change.

/cancel

Would abort the alerts.

@dns2utf8 dns2utf8 mentioned this issue Nov 13, 2015
@dbrgn
Copy link
Member

dbrgn commented Nov 14, 2015

What change? In the opening status? Or in the number of people?

@dns2utf8 dns2utf8 added this to the 0.3.0 milestone Nov 14, 2015
@dns2utf8 dns2utf8 self-assigned this Nov 14, 2015
@dns2utf8
Copy link
Member Author

for now I would focus on any change in the sensors object

@dbrgn
Copy link
Member

dbrgn commented Nov 14, 2015

That will send you an alert every few seconds when the temperature changes ;)

@dbrgn
Copy link
Member

dbrgn commented Nov 14, 2015

But the general idea is cool!

@dns2utf8
Copy link
Member Author

The flooding could be avoided with:

  • define a minimal Distance for each kind of Sensor
  • extending the Syntax to /alert [sensor] [max Time]

@dbrgn
Copy link
Member

dbrgn commented Nov 14, 2015

Yeah, I like the second idea.

@dns2utf8
Copy link
Member Author

I defined a Grammer for the UserInput, please review:
https://github.com/coredump-ch/coredumpbot/blob/compiler_style/src/user_input_compiler.rs

@dbrgn
Copy link
Member

dbrgn commented Nov 16, 2015

If you create a "work in progress" pull request we can add comments to it :)

@dns2utf8
Copy link
Member Author

#11

@dns2utf8
Copy link
Member Author

Continued in #27

@dns2utf8 dns2utf8 modified the milestones: 0.4.0, 0.3.0 May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants