AS a user, I want the ability to be able to sacrifice all duplicate cards of a specific type at once #390

Open
opened 2024-10-13 15:25:37 +01:00 by Vylpes · 0 comments
Owner

Epic:
Story Points: 5


SO THAT I can gain points I can use to get cards I don't have

Acceptance Criteria

GIVEN I am a user with duplicate cards
WHEN I run /sacrifice duplicates <type>
THEN the bot will respond with a confirmation embed

GIVEN I am a user without duplicate cards of <type>
WHEN I run /sacrifice duplicates <type>
THEN the bot will respond with an error

GIVEN I am a user with duplicates
WHEN I run /sacrifice duplicates all
THEN the bot will respond with a confirmation for all

GIVEN the bot has responded with a confirmation embed
WHEN I click "Confirm"
THEN the bot will sacrifice these cards
AND I will get a response

GIVEN the bot has responded with a confirmation embed
WHEN I click "Cancel"
THEN the bot will not do anything
AND the bot will disable the buttons

Subtasks

  • Move existing sacrifice to /sacrifice card subcommand
  • Create /sacrifice duplicates subcommand
  • Create sacrifice duplicates confirm button event
  • Create sacrifice duplicates cancel button event
  • Update tests

Notes

No notes

Epic: \ Story Points: 5 --- SO THAT I can gain points I can use to get cards I don't have ## Acceptance Criteria GIVEN I am a user with duplicate cards WHEN I run `/sacrifice duplicates <type>` THEN the bot will respond with a confirmation embed GIVEN I am a user without duplicate cards of `<type>` WHEN I run `/sacrifice duplicates <type>` THEN the bot will respond with an error GIVEN I am a user with duplicates WHEN I run `/sacrifice duplicates all` THEN the bot will respond with a confirmation for all GIVEN the bot has responded with a confirmation embed WHEN I click "Confirm" THEN the bot will sacrifice these cards AND I will get a response GIVEN the bot has responded with a confirmation embed WHEN I click "Cancel" THEN the bot will not do anything AND the bot will disable the buttons ## Subtasks - [ ] Move existing sacrifice to `/sacrifice card` subcommand - [ ] Create `/sacrifice duplicates` subcommand - [ ] Create `sacrifice duplicates confirm` button event - [ ] Create `sacrifice duplicates cancel` button event - [ ] Update tests ## Notes *No notes*
Vylpes added the
type
story
needs criteria
needs estimate
labels 2024-10-13 15:25:42 +01:00
Vylpes added the
needs tests
label 2024-10-27 16:41:44 +00:00
Vylpes changed title from Ability to sacrifice all duplicates of a specific type at once to AS a user, I want the ability to be able to sacrifice all duplicate cards of a specific type at once 2024-11-24 14:24:12 +00:00
Vylpes removed the
needs criteria
label 2024-11-24 14:28:30 +00:00
Vylpes removed the
needs estimate
label 2024-12-08 16:05:09 +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: External/card-drop#390
No description provided.