No description
Find a file
Ethan Lane 5f513d740e
All checks were successful
Deploy To Stage / build (push) Successful in 2m30s
Deploy To Stage / deploy (push) Successful in 16s
Change sacrifice command embed colours to go green when successful from red (#237)
# 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 sacrifice command so that the embed starts red, goes grey if cancelled, and goes green if successful
- Fix event not checking if the user who ran the command is the same user who clicked the button
- Remove duplicated card name in the embed, didn't need it in the footer as well as the main body

#203, #230, #238

## 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

Co-authored-by: VylpesTester <tester@vylpes.com>
Reviewed-on: #237
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2024-05-24 17:45:57 +01:00
.forgejo/workflows Make claim button use currency to claim (#216) 2024-05-03 18:37:08 +01:00
.gitea Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
database Create daily command (#224) 2024-05-24 17:40:45 +01:00
scripts Migrate to woodpecker (#150) 2024-01-26 21:02:17 +00:00
src Change sacrifice command embed colours to go green when successful from red (#237) 2024-05-24 17:45:57 +01:00
tests Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
.drone.yml Add ESLint and fix issues (#133) 2024-01-05 19:26:44 +00:00
.env.example Make claim button use currency to claim (#216) 2024-05-03 18:37:08 +01:00
.eslintrc.json Add ESLint and fix issues (#133) 2024-01-05 19:26:44 +00:00
.gitignore Make claim button use currency to claim (#216) 2024-05-03 18:37:08 +01:00
.woodpecker.yml Update woodpecker config to use new ip 2024-04-23 19:42:33 +01:00
docker-compose.yml Migrate to forgejo runner 2024-04-28 17:34:42 +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 @discordjs/rest to v2.3.0 (#232) 2024-05-20 18:24:48 +01:00
package.json Add cron job to add coins to a user every 30 minutes (#219) 2024-05-17 20:57:01 +01: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