Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
6 tasks
Tracked by #436
Vylpes opened this issue Nov 8, 2024 · 0 comments
Open
6 tasks
Tracked by #436
Labels
Milestone

Comments

@Vylpes
Copy link
Owner

Vylpes commented Nov 8, 2024

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
@Vylpes Vylpes mentioned this issue Nov 8, 2024
6 tasks
@Vylpes Vylpes added the story label Nov 8, 2024
@Vylpes Vylpes added this to the 3.4 milestone Nov 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
Status: Ready For Development
Development

No branches or pull requests

1 participant