AS a user, I want the drop command to take currency on drop instead of on claim #415

Open
opened 2024-12-04 14:12:08 +00:00 by Vylpes · 0 comments
Owner

Epic:
Story Points: 3


SO THAT I can't drop cards and not claim those I don't want

Acceptance Criteria

GIVEN I am a user with enough currency
WHEN I run /drop or click the Reroll button
THEN a new card will be dropped
AND the currency will be taken from me then
AND there will be a "Sacrifice" button

GIVEN I am a user without enough currency
WHEN I run /drop or click the Reroll button
THEN I will receive an error

GIVEN I am a user who has dropped a new card
WHEN I click on "Claim"
THEN the card will be added to my inventory
AND no additional currency will be taken from my balance

GIVEN I am a user who has dropped a new card
WHEN I click on the "Sacrifice" button
THEN the card will be sacrificed
AND I will be given the card's sacrifice amount back into my balance

Subtasks

  • Update drop command to take currency on run
  • Update reroll button to taken currency on run
  • Add sacrifice button and process to the drop embed
  • Update tests

Notes

  • There should also then be a sacrifice button on the drop embed
Epic: \ Story Points: 3 --- SO THAT I can't drop cards and not claim those I don't want ## Acceptance Criteria GIVEN I am a user with enough currency WHEN I run `/drop` or click the `Reroll` button THEN a new card will be dropped AND the currency will be taken from me then AND there will be a "Sacrifice" button GIVEN I am a user without enough currency WHEN I run `/drop` or click the `Reroll` button THEN I will receive an error GIVEN I am a user who has dropped a new card WHEN I click on "Claim" THEN the card will be added to my inventory AND no additional currency will be taken from my balance GIVEN I am a user who has dropped a new card WHEN I click on the "Sacrifice" button THEN the card will be sacrificed AND I will be given the card's sacrifice amount back into my balance ## Subtasks - [ ] Update drop command to take currency on run - [ ] Update reroll button to taken currency on run - [ ] Add sacrifice button and process to the drop embed - [ ] Update tests ## Notes - There should also then be a sacrifice button on the drop embed
Vylpes added the
type
story
needs criteria
needs estimate
needs tests
labels 2024-12-04 14:12:14 +00:00
Vylpes changed title from Drop command should take currency on drop instead of claim to AS a user, I want the drop command to take currency on drop instead of on claim 2024-12-08 16:07:05 +00:00
Vylpes removed the
needs criteria
label 2024-12-08 16:11:10 +00:00
Vylpes removed the
needs estimate
label 2024-12-22 15:07:07 +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#415
No description provided.