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

[Enhancement:] Message timer expressions #629

Open
davidhozic opened this issue Nov 24, 2024 · 0 comments
Open

[Enhancement:] Message timer expressions #629

davidhozic opened this issue Nov 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@davidhozic
Copy link
Owner

Summary

Sometimes it is useful to create countdown reminders; e. g., "The session will begin in [4 hours]", "The session will begin in [2 hours]", et cetera.

This issue proposes two things:

  • Timers inside messages, which can track elapsed time, as well as remaining time.
  • Expressions inside text messages

Basic Example

Expression example:

Don't forget our session today, it is in {message.next_send_time - time("2024-11-24T16:00:00")}.

Above example has an expression wrapped inside the {} brackets. The expression would evaluate to the difference between the time the message is sent and the time specified in the ISO 8601 date & time format (time("2024-11-24T16:00:00").

Unresolved questions

No response

@davidhozic davidhozic added the enhancement New feature or request label Nov 24, 2024
@davidhozic davidhozic self-assigned this Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant