-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add reminder command #61
Comments
Sure, I think that'd be good. We could have a
Not sure what you mean? I'd just consider reminders to be separate.
Why not both? |
I think it should probably be its own thing. We could store all reminders in the database, and then on startup it could fetch all the reminders and set up intervals for them. It's probably not possible to do this with the current system of commands or tasks, so we will need a new type of thing that the bot can do.
I assume the reminders get posted to the same channel that they were requested in, so they're not really tied to a specific user -- they're just channel-wide reminders that happen to have been requested by a particular person. So I think people shouldn't be able to set reminders for others (although they can ping the other person in the reminder).
The first one seems easier (so that the bot doesn't have to deal with grammar such as |
For future bookkeeping: The resolution here was to add a new API for tasks to be able to run at arbitrary points in time (specified by passing an event emitter to the task), rather than just at regular intervals. |
Possible example:
.remindme 5 hours post the thread
Questions:
.msg
in the db and just add a delivery time field for all messages, or should reminders be their own thing? (implementation detail).remindme 5 hours post the thread
or.remindme in 5 hours to post the thread
?The text was updated successfully, but these errors were encountered: