AS a potato talk member, I want to be able to set an objective for another member #207

Open
opened 2022-10-23 15:27:46 +01:00 by Vylpes · 0 comments
Vylpes commented 2022-10-23 15:27:46 +01:00 (Migrated from github.com)

Epic: #217
Story Points: 8


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
Epic: #217 Story Points: 8 --- 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 <user> with the description <objective AND an embed will be sent for <user> 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
Vylpes added this to the 3.3 milestone 2022-11-10 20:08:52 +00:00
Vylpes added the
type
story
needs criteria
needs estimate
labels 2022-12-04 14:56:12 +00:00
Vylpes modified the milestone from 3.3 to 3.4 2023-01-15 14:37:39 +00:00
Vylpes changed title from Create Objective to AS a potato talk member, I want to be able to set an objective for another member 2023-12-03 14:24:46 +00:00
Vylpes removed the
needs criteria
label 2023-12-03 14:37:32 +00:00
Vylpes removed the
needs estimate
label 2024-01-14 14:59:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: RabbitLabs/vylbot-app#207
No description provided.