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.

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.0.tar.gz (6.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for helga-reminders-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a18a102b5fc1571a5e6022cbb3daf6ec69409882036c697333c5877317d863d9
MD5 3e4976df9dac2623bdf2dd4339331d65
BLAKE2b-256 e7535b8d45ebccfbffbf955433aad5b5c0100e5e643011ccc7e454c1a2e59176

See more details on using hashes here.

Supported by

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