This PR implements the /meeting-reminder command, formerly known as /meeting reminder. This allows users to trigger a reminder for the soonest upcoming event in the channel that it was executed in. In addition, executing /meeting-reminder ping not only triggers a reminder, but also pings @channel.
This PR closes #22.
Developer Testing
Testing done:
Updated unit tests for generateEventReminderChannelText to handle the manually triggered cases
Tested functionality on the dev slack, including its handling of error cases when trying to run the command in channels where minerva does not exist.
Reviewer Testing
Steps to view/test
Run the /meeting-reminder command in a channel that does not have any upcoming events in the next 24 hours and ensure that you get a message stating such
Run the /meeting-reminder command in a channel that has an upcoming event and ensure that a reminder message is sent
Run the /meeting-reminder ping command in a channel that has an upcoming event and ensure that a reminder message is sent and it contains and it pings @channel
Description
This PR implements the
/meeting-reminder
command, formerly known as/meeting reminder
. This allows users to trigger a reminder for the soonest upcoming event in the channel that it was executed in. In addition, executing/meeting-reminder ping
not only triggers a reminder, but also pings@channel
.This PR closes #22.
Developer Testing
Testing done:
generateEventReminderChannelText
to handle the manually triggered casesReviewer Testing
Steps to view/test
/meeting-reminder
command in a channel that does not have any upcoming events in the next 24 hours and ensure that you get a message stating such/meeting-reminder
command in a channel that has an upcoming event and ensure that a reminder message is sent/meeting-reminder ping
command in a channel that has an upcoming event and ensure that a reminder message is sent and it contains and it pings@channel
This change is