Skip to content
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

[Command] Remind #80

Open
ctsstc opened this issue Feb 19, 2019 · 0 comments
Open

[Command] Remind #80

ctsstc opened this issue Feb 19, 2019 · 0 comments

Comments

@ctsstc
Copy link
Member

ctsstc commented Feb 19, 2019

I would like something similar to slack's remind command.

ie: remind [@user, #channel, me] [something] [at,on,next] [time]

This could be ephemeral, but if the bot was restarted, updated, or crashes it would lose the current cron jobs, so it would be best to commit these to a database and load up any pending jobs at start.

I remember running across an article about making something like this, or at least parsing out dates, maybe they went overkill with machine learning?.. We can start with something basic and rigid though like a simple regex. Maybe something like:

/^(@|#).* (.*) at (.*)/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant