waterloo-rocketry / minerva-rewrite

The rewrite of Waterloo Rocketry's custom slackbot
MIT License
1 stars 2 forks source link

Implement `/meeting-reminder` command #67

Closed QuantumManiac closed 9 months ago

QuantumManiac commented 9 months ago

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:

Reviewer Testing

Steps to view/test

  1. 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
  2. Run the /meeting-reminder command in a channel that has an upcoming event and ensure that a reminder message is sent
  3. 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

This change is Reviewable