Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Timer #153

Open
Open
Timer#153
@Defelo

Description

@Defelo

Commands:

  • .timer create <timestamp> <message>: create a new timer that will send message at timestamp via direct messages to the user. The number of timers per user is limited (configurable).
  • .timer list: list all active timers
  • .timer edit timestamp <id>: edit the timestamp of an active timer
  • .timer edit message <id>: edit the message of an active timer
  • .timer delete <id>: delete an active timer
  • .timer snooze <id> <timestamp>: reactivate timer after message has been sent and reset timestamp
  • automatically delete inactive timers after a week
  • .until <timestamp>: calculate the timedelta until now and timestamp and print it in format x days <hours>:<minutes>:<seconds> omit days if x is 0

Examples for <timestamp>:

  • <unixtimestamp>

  • yyyy-mm-dd hh:mm:ss

  • yyyy-mm-dd

  • yy-mm-dd

  • dd-mm-yy

  • dd-mm-yyyy

  • 5 min

  • 5 minutes

  • 1 hour

  • next christmas

  • christmas

  • 5 months

  • 3 years

  • 180 seconds

  • first week of august
    case does not matter
    maybe there is a library to do this parsing

  • wiederkehrende timer (jeden tag um 20 uhr, bis man das ausmacht) (verhindert, dass man einen timer stellt, und das, was drin ist, dann doch vergisst, indem der einen täglich erinnert)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions