AS a potato talk member, I want to be able to set an objective for another member
SO THAT they have an objective to try and get a moon
Acceptance Criteria
AS a potato talk member
GIVEN I want to be able to set an objective for another user
WHEN I run /objectives create <user> <objective>
THEN an "unclaimed" objective will be created for with the description <objective
AND an embed will be sent for to be able to claim the objective
AND the user will have 24 hours to claim the objective
AS a potato talk member
GIVEN I have received an embed to claim an objective
AND I want to accept the objective
WHEN I click on the accept button
THEN the objective will be added to my objectives
AS a potato talk member
GIVEN I have received an embed to claim an objective
AND I want to decline the objective
WHEN I click on the decline button
THEN the objective will expire immediately
AND removed from the database
AS a potato talk member
GIVEN an objective is unclaimed for 24 hours
WHEN a further objectives command is ran
THEN the bot should clear this objective from the database
Subtasks
[ ] Create objectives create command
[ ] Create objectives claim embed
[ ] Create accept objective button
[ ] Create decline objective button
[ ] Create expired objective functionality
[ ] Update tests
Notes
An "unclaimed" objective won't show in the users' objective list until its claimed
AS a potato talk member, I want to be able to set an objective for another member SO THAT they have an objective to try and get a moon
Acceptance Criteria
AS a potato talk member GIVEN I want to be able to set an objective for another user WHEN I run with the description <objective
AND an embed will be sent for to be able to claim the objective
AND the user will have 24 hours to claim the objective
/objectives create <user> <objective>
THEN an "unclaimed" objective will be created forAS a potato talk member GIVEN I have received an embed to claim an objective AND I want to accept the objective WHEN I click on the accept button THEN the objective will be added to my objectives
AS a potato talk member GIVEN I have received an embed to claim an objective AND I want to decline the objective WHEN I click on the decline button THEN the objective will expire immediately AND removed from the database
AS a potato talk member GIVEN an objective is unclaimed for 24 hours WHEN a further objectives command is ran THEN the bot should clear this objective from the database
Subtasks
Notes