Our main rule (non-terminal) will just describe the /remind command. Building a Simple Grammar to parse it main -> "/remind" _ someone_channel _ what _ when In the rule above someone_channel can be something produced by someone rule or something produced by channel.
Ī non-terminal rule is build of other rules, example: someone_channel -> someone:? channel:? The rule above tells us that when can be today or tomorrow or next week. when: when do we want the reminder to happenĪ rule can be a terminal or a non-terminalĪ terminal rule does not expand anymore and does not use other rules example: when -> (“today” | “tomorrow” | “next week”).what: what do we want to remind someone or some channel.or #channel: who or which channel we want to remind./remind: word that tells slack that we want to remind someone or a channel about something in the future.For example, you might want to remind all the online users within a channel about something. In a similar fashion to assigning a reminder to another user, you can target a channel itself. Normally, I end up finding interesting articles that I want to pass on, so these types of reminders work perfectly for me. I tend to use these types of reminders after hours to present information that can wait until the following day. This asynchronous flow is awesome, as it allows you to know that the reminder for that user was acted upon. I received confirmation that he has seen and acted on the reminder I assigned him. Regardless, when the reminder does trigger, Aaron can interact with it. Slack, if you are listening, I would like to be able to see who assigned the reminder. Going back to our example, Aaron checks his reminders in Slack and he sees the newly assigned task, although there is no indication of who assigned it to him. You just have to be aware of this detail depending on how you plan to use reminders.
The only way he can get any insight that he has a new reminder is to either wait until the specified time, or to look at his own list of reminders and see it there. Aaron doesn’t actually receive any indication that he has just been assigned a reminder. In this example, would receive a reminder at the specified time.
remind deploy your changes before the weekend on friday morning