Go to file
Ethan Lane c7b01c932e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update claim event to increment the claimed number when the user claims a drop (#191)
# Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

- Update the claim event to increment the claim number when the user claims a drop
- Due to discord api limitations I can't reply to an interaction and edit the embed, so I've had to change it so the claimed by is displayed in the same embed
- This also has the nice side effect of letting me disable the claim button as well

#89

## Type of change

Please delete options that are not relevant.

- [x] New feature (non-breaking change which adds functionality

# How Has This Been Tested?

Please describe the tests that you ran to verify the changes. Provide instructions so we can reproduce. Please also list any relevant details to your test configuration.

# Checklist

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that provde my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules

Reviewed-on: https://gitea.vylpes.xyz/External/card-drop/pulls/191
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2024-03-31 15:51:10 +01:00
.gitea Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
database Add safe mode (#85) 2023-11-12 20:53:50 +00:00
scripts Migrate to woodpecker (#150) 2024-01-26 21:02:17 +00:00
src Update claim event to increment the claimed number when the user claims a drop (#191) 2024-03-31 15:51:10 +01:00
tests Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
.dev.env Add logger to project (#183) 2024-03-15 17:33:12 +00:00
.drone.yml Add ESLint and fix issues (#133) 2024-01-05 19:26:44 +00:00
.eslintrc.json Add ESLint and fix issues (#133) 2024-01-05 19:26:44 +00:00
.gitignore Add give command (#137) 2024-01-12 17:51:29 +00:00
.prod.env Add logger to project (#183) 2024-03-15 17:33:12 +00:00
.stage.env Add logger to project (#183) 2024-03-15 17:33:12 +00:00
.woodpecker.yml Migrate to woodpecker (#150) 2024-01-26 21:02:17 +00:00
docker-compose.prod.yml Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
docker-compose.stage.yml Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
docker-compose.yml Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
jest.config.json Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
jest.setup.js Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
package-lock.json Update dependency express to v4.19.1 (#189) 2024-03-25 18:42:21 +00:00
package.json Add logger to project (#183) 2024-03-15 17:33:12 +00:00
README.md Initial commit 2023-08-19 14:09:24 +01:00
renovate.json Add to renovate config to add label on PRs (#128) 2023-12-29 21:03:15 +00:00
tsconfig.json Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00

card-drop