Compare commits

...
Sign in to create a new pull request.

17 commits

Author SHA1 Message Date
e4c37f9418 Upgrade winston
All checks were successful
Test / build (push) Successful in 47s
2025-06-04 18:28:47 +01:00
243889aec6 Upgrade minimatch 2025-06-04 18:28:15 +01:00
d7b8d7317b Upgrade fuse.js 2025-06-04 18:27:20 +01:00
1e5537263d Upgrade express 2025-06-04 18:26:40 +01:00
36589dab33 Upgrade dotenv 2025-06-04 18:25:58 +01:00
0cfb9d6322 Upgrade cron 2025-06-04 18:25:19 +01:00
a5a54bd291 Upgrade canvas 2025-06-04 18:24:33 +01:00
f94da4a86a Upgrade body-parser 2025-06-04 18:23:41 +01:00
16b4fd6c67 Upgrade axios 2025-06-04 18:22:47 +01:00
2e835e1a25 Upgrade dev dependencies 2025-06-04 18:18:33 +01:00
462c57c0c7 Upgrade discord.js 2025-06-04 18:17:20 +01:00
f347031571 WIP: Update discord.js
Some checks failed
Test / build (push) Failing after 43s
2025-05-27 19:17:20 +01:00
2c4024c14e Upgrade discord.js 2025-05-27 18:29:06 +01:00
460caec5e0 Upgrade glob to 11.0.2 2025-05-27 18:28:18 +01:00
ccfa88daf4 Merge branch 'main' into develop
All checks were successful
Deploy To Stage / build (push) Successful in 56s
Deploy To Stage / deploy (push) Successful in 17s
2025-05-25 17:02:57 +01:00
4feb5effdb Merge branch 'hotfix/0.9.1' into develop
All checks were successful
Deploy To Stage / build (push) Successful in 59s
Deploy To Stage / deploy (push) Successful in 17s
2025-05-24 11:53:15 +01:00
b18bf3c20d Use local in .env
All checks were successful
Deploy To Stage / build (push) Successful in 52s
Deploy To Stage / deploy (push) Successful in 16s
2025-05-18 11:28:49 +01:00
4 changed files with 1040 additions and 899 deletions

View file

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

View file

@ -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"
}
}

View file

@ -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>>();

1889
yarn.lock

File diff suppressed because it is too large Load diff