Compare commits
17 commits
main
...
feature/CD
Author | SHA1 | Date | |
---|---|---|---|
e4c37f9418 | |||
243889aec6 | |||
d7b8d7317b | |||
1e5537263d | |||
36589dab33 | |||
0cfb9d6322 | |||
a5a54bd291 | |||
f94da4a86a | |||
16b4fd6c67 | |||
2e835e1a25 | |||
462c57c0c7 | |||
f347031571 | |||
2c4024c14e | |||
460caec5e0 | |||
ccfa88daf4 | |||
4feb5effdb | |||
b18bf3c20d |
4 changed files with 1040 additions and 899 deletions
|
@ -7,7 +7,7 @@
|
|||
# any secret values.
|
||||
|
||||
BOT_TOKEN=
|
||||
BOT_VER=0.8.4
|
||||
BOT_VER=local
|
||||
BOT_AUTHOR=Vylpes
|
||||
BOT_OWNERID=147392775707426816
|
||||
BOT_CLIENTID=682942374040961060
|
||||
|
|
44
package.json
44
package.json
|
@ -25,40 +25,40 @@
|
|||
"homepage": "https://gitea.vylpes.xyz/External/card-drop",
|
||||
"funding": "https://ko-fi.com/vylpes",
|
||||
"dependencies": {
|
||||
"@discordjs/rest": "^2.0.0",
|
||||
"@discordjs/rest": "^2.5.0",
|
||||
"@types/clone-deep": "^4.0.4",
|
||||
"@types/express": "^5.0.0",
|
||||
"@types/express": "^5.0.2",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"axios": "^1.8.4",
|
||||
"body-parser": "^1.20.2",
|
||||
"canvas": "^2.11.2",
|
||||
"axios": "^1.9.0",
|
||||
"body-parser": "^2.2.0",
|
||||
"canvas": "^3.1.0",
|
||||
"clone-deep": "^4.0.1",
|
||||
"cron": "^3.1.7",
|
||||
"discord.js": "^14.16.3",
|
||||
"dotenv": "^16.0.0",
|
||||
"express": "^4.18.2",
|
||||
"fuse.js": "^7.0.0",
|
||||
"glob": "^11.0.0",
|
||||
"cron": "^4.3.1",
|
||||
"discord.js": "^14.19.3",
|
||||
"dotenv": "^16.5.0",
|
||||
"express": "^5.1.0",
|
||||
"fuse.js": "^7.1.0",
|
||||
"glob": "^11.0.2",
|
||||
"jest": "^29.0.0",
|
||||
"jest-mock-extended": "^3.0.0",
|
||||
"jest-mock-extended": "^4.0.0-beta1",
|
||||
"jimp": "^1.6.0",
|
||||
"minimatch": "9.0.5",
|
||||
"minimatch": "10.0.1",
|
||||
"mysql": "^2.18.1",
|
||||
"ts-jest": "^29.0.0",
|
||||
"ts-jest": "^29.3.4",
|
||||
"typeorm": "0.3.20",
|
||||
"winston": "^3.15.0",
|
||||
"winston": "^3.17.0",
|
||||
"winston-daily-rotate-file": "^5.0.0",
|
||||
"winston-discord-transport": "^1.3.0"
|
||||
},
|
||||
"resolutions": {},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.8.1",
|
||||
"@typescript-eslint/eslint-plugin": "^8.11.0",
|
||||
"@typescript-eslint/parser": "^8.11.0",
|
||||
"eslint": "^9.13.0",
|
||||
"np": "^10.0.7",
|
||||
"typescript": "^5.0.0",
|
||||
"typescript-eslint": "^8.11.0"
|
||||
"@types/node": "^22.15.29",
|
||||
"@typescript-eslint/eslint-plugin": "^8.33.1",
|
||||
"@typescript-eslint/parser": "^8.33.1",
|
||||
"eslint": "^9.28.0",
|
||||
"np": "^10.2.0",
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-eslint": "^8.33.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ describe("UseConfirm", () => {
|
|||
// Arrange
|
||||
interaction.customId += " unclaimed";
|
||||
interaction.user.id = "userId";
|
||||
interaction.update.mockImplementation(async (opts: string | MessagePayload | InteractionUpdateOptions) => {
|
||||
(interaction.update as jest.Mock).mockImplementation(async (opts: string | MessagePayload | InteractionUpdateOptions) => {
|
||||
updatedWith = opts;
|
||||
|
||||
return mock<InteractionResponse<boolean>>();
|
||||
|
@ -133,7 +133,7 @@ describe("UseCancel", () => {
|
|||
// Arrange
|
||||
interaction.customId += " unclaimed";
|
||||
interaction.user.id = "userId";
|
||||
interaction.update.mockImplementation(async (opts: string | MessagePayload | InteractionUpdateOptions) => {
|
||||
(interaction.update as jest.Mock).mockImplementation(async (opts: string | MessagePayload | InteractionUpdateOptions) => {
|
||||
updatedWith = opts;
|
||||
|
||||
return mock<InteractionResponse<boolean>>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue