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

Add dead man's switch module #180

Open
vranki opened this issue Nov 4, 2021 · 0 comments
Open

Add dead man's switch module #180

vranki opened this issue Nov 4, 2021 · 0 comments

Comments

@vranki
Copy link
Owner

vranki commented Nov 4, 2021

Use case: User does something potentially dangerous and wants to create alert if doesn't return from the trip.

Spec:

  • User can create a alert, containing a time (in hours), message to display, and room where to send it.
  • Bot waits. If user sends a message before time runs out in any room, delete the alert.
  • If alert time runs out, send the alert message to the alert room.

Another use case: User wants to cause alarm if hasn't sent anything for X hours due to old age/illness/kidnapped by ninjas.

Spec:

  • Create alert
  • Alert time is reset every time user sends a message in any room
  • If alert time expires, send the message.
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

1 participant