Master-Bot
Master-Bot copied to clipboard
Reminder Command Redis Edition
a Rework of #728 to use Redis TTL
Function
its a Pub/Sub setup with a keyspace event listener for the notifications This uses Direct Messages to function, and was designed to be personal reminders, so most of the responses are ephemeral. You can set reminders by Text Channel or Direct Message All reminders are Direct Messages (can't annoy other people) if it had a repeat options, then create a new db entry when message is sent
a caveat that may pop up is reminders being deleted when the Redis Server is Hosted on an Ephemeral Web Services like Heroku
Objectives
- [x] Convert to Redis TTL
- [x] Sub Commands View/Set/Remove/Save-timezone
- [x] Small input chain - Minimum of 2 Inputs to set a reminder
event
andtime
- [ ] TimeZones - Get users Timezone offset by asking for Local Date and Time (needs work)
- [x] repeat options - "daily", "weekly", "yearly", "monthly*"
*Monthly option can only be used if the desired Day is less than the 28th
Much Love -Bacon