Real-Dev-Squad / discord-slash-commands

MIT License
4 stars 26 forks source link

Create /notify Command notify user #124

Closed sahsisunny closed 11 months ago

sahsisunny commented 1 year ago

Create /notify Command notify user

Design Doc : #125

Description: We need to create a new command, /notify, for our Discord bot to provide task deadline notifications to users. This command will help identify users with overdue tasks and those falling into specific onboarding categories. The command should accept two primary options: "OVERDUE" and "ONBOARDING," each with its own set of sub-options.

User Story: ADMIN/SUPER USER want the /notify command to help me keep track of task deadlines and onboarding statuses for our community members. This will allow them to:

Task Details:

Option 1: OVERDUE:

Option 2: ONBOARDING:

Functional Requirements:

  1. /notify OVERDUE:

    • When a user enters /notify OVERDUE: In 1 Day, the bot should return a list of users who have tasks that will become overdue in 1 day.
    • When a user enters /notify OVERDUE In 3 Days, the bot should return a list of users who have tasks that will become overdue in 3 days.
  2. /notify ONBOARDING:

    • When a user enters /notify ONBOARDING >31, the bot should return a list of users who have been onboarded for more than 31 days.
    • When a user enters /notify ONBOARDING >7 <31, the bot should return a list of users who have been onboarded for more than 7 days but less than 31 days.

Additional Considerations:

Acceptance Criteria:

Deadline: None

Assignee: @sahsisunny

Priority: TBD

Once this issue is completed, it will help us improve task management and keep our Discord community informed about their task deadlines and onboarding statuses.