Skip to main content

A helga command for scheduling one time or recurring reminders

Project description

A command plugin for scheduling one time or recurring reminders. Usage:

helga (in ##(m|h|d) [on <channel>] <message>|at <HH>:<MM> [<timezone>] [on <channel>] <message> [repeat <days_of_week>]|reminders list [channel]|reminders delete <hash>)

Each reminder setting command acts as follows:

in ##(m|h|d) [on <channel>] <message>

Schedule a message to appear in some number of minutes, hours, or days on the current channel. Optionally, on <channel> will set this reminder to occur on the specified channel. This is useful for setting channel reminders via a private message. For example:

<sduncan> !in 8h on #work QUITTING TIME!
at <HH>:<MM> [<timezone>] [on <channel>] <message> [repeat <days_of_week>]

Schedule a message to appear at a specific time in the future. on <channel> will set this reminder to occur on the specified channel, which is useful for setting channel reminders via a private message. If not specified, the default timezone is assumed to be UTC, otherwise a timezone such as ‘US/Eastern’ that can be recognized by pytz can be specified. Times must be in 24h clock format. For example:

<sduncan> !at 17:00 US/Eastern on #work QUITTING TIME!

You can also set these reminders to occur at repeating intervals in the future by specifying repeat followed by a string of days of the week. For example:

<sduncan> !at 17:00 US/Eastern on #work QUITTING TIME! repeat MTuWThF

Valid days of the week are:

  • Su: Sunday

  • M: Monday

  • Tu: Tuesday

  • W: Wednesday

  • Th: Thursday

  • F: Friday

  • Sa: Saturday

reminders list [channel]

List all of the reminders set to occur on the current channel. Specifying a channel name will list all the reminders set to occur on that channel.

reminders delete <hash>

Delete a stored reminder with the given hash. Reminder hashes can be obtained using the reminders list command.

Settings

TIMEZONE The default timezone (default value is ‘US/Eastern’)

License

Copyright (c) 2015 Shaun Duncan

Licensed under an MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helga-reminders-0.1.1.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file helga-reminders-0.1.1.tar.gz.

File metadata

File hashes

Hashes for helga-reminders-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5a1c780089ecec4994fa7a68b063c77cd4202d11e32228d6f5e0b13d2a3a167b
MD5 7d2ff465c462762f0ed5840e57404696
BLAKE2b-256 442edff90c149c669380fcd7d5a6412b21bbf4a28883089a6e53d5d33238b026

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page