Find a file
Ethan Lane 3e09cf7f43
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add trade command (#172)
# 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.

- Add trade command to the bot, as well as its corresponding button events
- Only the target user can accept
- Both the target user and initiating user can decline, no one else can
- Auto expires after 15 minutes

#165

## 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/172
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2024-02-23 18:37:48 +00: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 Add trade command (#172) 2024-02-23 18:37:48 +00:00
tests Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
.dev.env Update gdrivesync command to error if JSON parsing fails (#143) 2024-01-19 18:05:46 +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 Update gdrivesync command to error if JSON parsing fails (#143) 2024-01-19 18:05:46 +00:00
.stage.env Update gdrivesync command to error if JSON parsing fails (#143) 2024-01-19 18:05:46 +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 @typescript-eslint/eslint-plugin to v6.21.0 (#168) 2024-02-19 15:11:33 +00:00
package.json 0.5.0 2024-02-17 17:52:34 +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