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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file helga-reminders-0.1.1.tar.gz
.
File metadata
- Download URL: helga-reminders-0.1.1.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a1c780089ecec4994fa7a68b063c77cd4202d11e32228d6f5e0b13d2a3a167b |
|
MD5 | 7d2ff465c462762f0ed5840e57404696 |
|
BLAKE2b-256 | 442edff90c149c669380fcd7d5a6412b21bbf4a28883089a6e53d5d33238b026 |