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:
Quickly identify users with overdue tasks and notify them promptly.
Monitor the onboarding progress of new members based on predefined criteria.
Have a clear overview of task-related activities within the community.
Task Details:
Option 1: OVERDUE:
Sub-option 1: In 1 Day
Sub-option 2: In 3 Days
Option 2: ONBOARDING:
Sub-option 1: > 31 Days
Sub-option 2: > 7D & < 31D
Functional Requirements:
/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.
/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:
Ensure that the bot properly handles user input and provides clear and informative responses.
Consider implementing error handling for invalid inputs, such as non-numeric values or values outside the specified range.
Make sure the bot's response includes relevant user information and distinguishes between users with different deadlines or onboarding statuses.
Acceptance Criteria:
The /notify command is created and fully functional.
The bot correctly identifies users with overdue tasks or those falling into the specified onboarding categories.
The bot provides accurate results based on the sub-options chosen by the user.
Error handling is implemented to handle invalid inputs gracefully.
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.
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:
/notify OVERDUE
:/notify OVERDUE: In 1 Day
, the bot should return a list of users who have tasks that will become overdue in 1 day./notify OVERDUE In 3 Days
, the bot should return a list of users who have tasks that will become overdue in 3 days./notify ONBOARDING
:/notify ONBOARDING >31
, the bot should return a list of users who have been onboarded for more than 31 days./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:
/notify
command is created and fully functional.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.