diff --git a/package.json b/package.json index 7a99faf..65c7767 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "@sapphire/type": "^2.4.0", "@sapphire/utilities": "^3.12.0", "@spectera/tag-parser": "^2.3.1", - "discord.js": "^13.16.0", + "discord.js": "^14.11.0", "dotenv-cra": "^3.0.3" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 36b6c4e..ca3e9b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1618,16 +1618,18 @@ __metadata: languageName: node linkType: hard -"@discordjs/builders@npm:^0.16.0": - version: 0.16.0 - resolution: "@discordjs/builders@npm:0.16.0" +"@discordjs/builders@npm:^1.6.3": + version: 1.6.3 + resolution: "@discordjs/builders@npm:1.6.3" dependencies: - "@sapphire/shapeshift": ^3.5.1 - discord-api-types: ^0.36.2 + "@discordjs/formatters": ^0.3.1 + "@discordjs/util": ^0.3.1 + "@sapphire/shapeshift": ^3.8.2 + discord-api-types: ^0.37.41 fast-deep-equal: ^3.1.3 - ts-mixer: ^6.0.1 - tslib: ^2.4.0 - checksum: bf7ab00924bf84678c139b32c3b6bda16d62f190a1674ebaa4ec8767c7105890b1375716296037306661e138fe1c09c535b3141a047b7fceafaa92937a76cb8b + ts-mixer: ^6.0.3 + tslib: ^2.5.0 + checksum: 6a0c07fb910d8a6701f58f51f9f85a486c1f608bb7b81656581591b57eb54680db0a7715ac25b4659c115231bfd8c4ff706cc4ccffb4da308ad24233dc6524b3 languageName: node linkType: hard @@ -1638,10 +1640,19 @@ __metadata: languageName: node linkType: hard -"@discordjs/collection@npm:^0.7.0": - version: 0.7.0 - resolution: "@discordjs/collection@npm:0.7.0" - checksum: 141aa35a5433bacba3617b533557b4948388c7b59cdaecee51ccd721c1b9242e50d95bdef53ee2491535a017095f5072ace3c3e9e594193f67a1c5a8a4b7db93 +"@discordjs/collection@npm:^1.5.1": + version: 1.5.1 + resolution: "@discordjs/collection@npm:1.5.1" + checksum: 98cc9cff3c7e6f919097b7ffc96f0a13eba2a90265d187b4db5f8cc09b550efd3d9fc952a21d92a08baf7d9e06d0bfa0467e8d0dbccb2d2f8eb0ee124b8b38d4 + languageName: node + linkType: hard + +"@discordjs/formatters@npm:^0.3.1": + version: 0.3.1 + resolution: "@discordjs/formatters@npm:0.3.1" + dependencies: + discord-api-types: ^0.37.41 + checksum: 96355687853a203b280484419cd96a79b79b4b98f0469ec15be073862fb340cbd60ca2ea68f3d4684e17ff0e8c5f04ddcc6dd88188808e01fcbe0e3eea052d6d languageName: node linkType: hard @@ -1664,6 +1675,46 @@ __metadata: languageName: node linkType: hard +"@discordjs/rest@npm:^1.7.1": + version: 1.7.1 + resolution: "@discordjs/rest@npm:1.7.1" + dependencies: + "@discordjs/collection": ^1.5.1 + "@discordjs/util": ^0.3.0 + "@sapphire/async-queue": ^1.5.0 + "@sapphire/snowflake": ^3.4.2 + discord-api-types: ^0.37.41 + file-type: ^18.3.0 + tslib: ^2.5.0 + undici: ^5.22.0 + checksum: 397dca0f2433dcc20c98805427388dd2ab09b906c429185e5d7cfc5057ad7b2a815653482476cffb64b8e1c3628ff254d927796316956d737375be22383c88d7 + languageName: node + linkType: hard + +"@discordjs/util@npm:^0.3.0, @discordjs/util@npm:^0.3.1": + version: 0.3.1 + resolution: "@discordjs/util@npm:0.3.1" + checksum: afd53427bc25c84e05cd34d6daf355cab14629a5f340d33528ea18d3a1177e777584bc5847cfcb7711c7387252c34917d749a0b1a91a99d2ce572878208212df + languageName: node + linkType: hard + +"@discordjs/ws@npm:^0.8.3": + version: 0.8.3 + resolution: "@discordjs/ws@npm:0.8.3" + dependencies: + "@discordjs/collection": ^1.5.1 + "@discordjs/rest": ^1.7.1 + "@discordjs/util": ^0.3.1 + "@sapphire/async-queue": ^1.5.0 + "@types/ws": ^8.5.4 + "@vladfrangu/async_event_emitter": ^2.2.1 + discord-api-types: ^0.37.41 + tslib: ^2.5.0 + ws: ^8.13.0 + checksum: 28eb76ce58e31bc6be8b4d410aae448a8ad6388298f97392d1df002f3f5f1b0ab344bd4cb971aeebd0ea62558dcf1d9554cab3a21485d221f2a7af4ed0766a2e + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.2.0": version: 4.2.0 resolution: "@eslint-community/eslint-utils@npm:4.2.0" @@ -2344,13 +2395,20 @@ __metadata: languageName: node linkType: hard -"@sapphire/shapeshift@npm:^3.5.1": - version: 3.7.0 - resolution: "@sapphire/shapeshift@npm:3.7.0" +"@sapphire/shapeshift@npm:^3.8.2": + version: 3.9.2 + resolution: "@sapphire/shapeshift@npm:3.9.2" dependencies: fast-deep-equal: ^3.1.3 - lodash.uniqwith: ^4.5.0 - checksum: 4fed0865abcf3653406cfa1f4a2a7d1c51103cee1c13ec4fd8fbc84bd32d20b2949e2266531c2d81b9b1e3af32787cd1f5d66a3d6146d6afb553ca2c6377beb1 + lodash: ^4.17.21 + checksum: 0d4572281a2a43dc444f56aef7462d16fdc49cdf0e625d521bfeae4b2219e35b53b7752b4e7396e402ce3b1a21c86afc4c3c82ce1547822a6e844116bb220760 + languageName: node + linkType: hard + +"@sapphire/snowflake@npm:^3.4.2": + version: 3.5.1 + resolution: "@sapphire/snowflake@npm:3.5.1" + checksum: 8fc025020adab1a7a1a5d2cf07704d598cc1977b50e5fcd3a5dd239f00934dc936d3a4d5ae336e71d8bf1d88ec27aa814b34de79e38ff097b7b9ba5a7977a683 languageName: node linkType: hard @@ -2465,6 +2523,13 @@ __metadata: languageName: node linkType: hard +"@tokenizer/token@npm:^0.3.0": + version: 0.3.0 + resolution: "@tokenizer/token@npm:0.3.0" + checksum: 1d575d02d2a9f0c5a4ca5180635ebd2ad59e0f18b42a65f3d04844148b49b3db35cf00b6012a1af2d59c2ab3caca59451c5689f747ba8667ee586ad717ee58e1 + languageName: node + linkType: hard + "@tootallnate/once@npm:1": version: 1.1.2 resolution: "@tootallnate/once@npm:1.1.2" @@ -2606,16 +2671,6 @@ __metadata: languageName: node linkType: hard -"@types/node-fetch@npm:^2.6.3": - version: 2.6.3 - resolution: "@types/node-fetch@npm:2.6.3" - dependencies: - "@types/node": "*" - form-data: ^3.0.0 - checksum: b68cda58e91535a42dd5337932443c37f8e198ca1e8deeb95bd92a64a9a84d92071867b91c5eb84ee8e13f33d45a70549fe2bc11dd070a894dd561909f4d39f5 - languageName: node - linkType: hard - "@types/node@npm:*": version: 17.0.15 resolution: "@types/node@npm:17.0.15" @@ -2804,6 +2859,13 @@ __metadata: languageName: node linkType: hard +"@vladfrangu/async_event_emitter@npm:^2.2.1": + version: 2.2.2 + resolution: "@vladfrangu/async_event_emitter@npm:2.2.2" + checksum: ed948294fea1a2dc8b8f307f4061bf65e2043a946132f288702f0572a806ebe3123b8c7e522e70d2abbd3616f5d67027c9e59df9ef80b0195f7502a848a426ba + languageName: node + linkType: hard + "JSONStream@npm:^1.0.4": version: 1.3.5 resolution: "JSONStream@npm:1.3.5" @@ -3056,13 +3118,6 @@ __metadata: languageName: node linkType: hard -"asynckit@npm:^0.4.0": - version: 0.4.0 - resolution: "asynckit@npm:0.4.0" - checksum: 7b78c451df768adba04e2d02e63e2d0bf3b07adcd6e42b4cf665cb7ce899bedd344c69a1dcbce355b5f972d597b25aaa1c1742b52cffd9caccb22f348114f6be - languageName: node - linkType: hard - "babel-jest@npm:^28.1.3": version: 28.1.3 resolution: "babel-jest@npm:28.1.3" @@ -3527,15 +3582,6 @@ __metadata: languageName: node linkType: hard -"combined-stream@npm:^1.0.8": - version: 1.0.8 - resolution: "combined-stream@npm:1.0.8" - dependencies: - delayed-stream: ~1.0.0 - checksum: 49fa4aeb4916567e33ea81d088f6584749fc90c7abec76fd516bf1c5aa5c79f3584b5ba3de6b86d26ddd64bae5329c4c7479343250cfe71c75bb366eae53bb7c - languageName: node - linkType: hard - "commander@npm:^4.0.0": version: 4.1.1 resolution: "commander@npm:4.1.1" @@ -3759,13 +3805,6 @@ __metadata: languageName: node linkType: hard -"delayed-stream@npm:~1.0.0": - version: 1.0.0 - resolution: "delayed-stream@npm:1.0.0" - checksum: 46fe6e83e2cb1d85ba50bd52803c68be9bd953282fa7096f51fc29edd5d67ff84ff753c51966061e5ba7cb5e47ef6d36a91924eddb7f3f3483b1c560f77a0020 - languageName: node - linkType: hard - "delegates@npm:^1.0.0": version: 1.0.0 resolution: "delegates@npm:1.0.0" @@ -3824,20 +3863,6 @@ __metadata: languageName: node linkType: hard -"discord-api-types@npm:^0.33.5": - version: 0.33.5 - resolution: "discord-api-types@npm:0.33.5" - checksum: 6dcaad640c5693a69c9a4f5e444e739dde11ba835164ae6fd3dd5a1ab7b4d7f96cd022ed653eeaff2c8051ead0d998a5d502a2915cfacdde596364b82d9e3b3f - languageName: node - linkType: hard - -"discord-api-types@npm:^0.36.2": - version: 0.36.3 - resolution: "discord-api-types@npm:0.36.3" - checksum: 3089c0fb37425dc5df03c76d82988d43fcc272699b06a02fc830d0a3bef550009aaebdf6d646529e8a7ccea76ae3f43b099d736ea5ef37a0be143142ab49871d - languageName: node - linkType: hard - "discord-api-types@npm:^0.37.41": version: 0.37.45 resolution: "discord-api-types@npm:0.37.45" @@ -3845,20 +3870,25 @@ __metadata: languageName: node linkType: hard -"discord.js@npm:^13.16.0": - version: 13.16.0 - resolution: "discord.js@npm:13.16.0" +"discord.js@npm:^14.11.0": + version: 14.11.0 + resolution: "discord.js@npm:14.11.0" dependencies: - "@discordjs/builders": ^0.16.0 - "@discordjs/collection": ^0.7.0 - "@sapphire/async-queue": ^1.5.0 - "@types/node-fetch": ^2.6.3 + "@discordjs/builders": ^1.6.3 + "@discordjs/collection": ^1.5.1 + "@discordjs/formatters": ^0.3.1 + "@discordjs/rest": ^1.7.1 + "@discordjs/util": ^0.3.1 + "@discordjs/ws": ^0.8.3 + "@sapphire/snowflake": ^3.4.2 "@types/ws": ^8.5.4 - discord-api-types: ^0.33.5 - form-data: ^4.0.0 - node-fetch: ^2.6.7 + discord-api-types: ^0.37.41 + fast-deep-equal: ^3.1.3 + lodash.snakecase: ^4.1.1 + tslib: ^2.5.0 + undici: ^5.22.0 ws: ^8.13.0 - checksum: 42457561d13412d42d6247dec35ac13f5996958ee643be84b8e108326ec9b1420d2216d60527cbaaab10e5f6a5d14a3509ac189e6cf7f72a27e67f77789029c6 + checksum: 63e0a312c4ee89b03bfd16f3d58ff185d1e4cee75aa2d75de7a56d049a0bcddb89e16ae77cb02ddf0272072698d490c6a98959a8a90dd68ac6175a3ee50a191d languageName: node linkType: hard @@ -4564,6 +4594,17 @@ __metadata: languageName: node linkType: hard +"file-type@npm:^18.3.0": + version: 18.5.0 + resolution: "file-type@npm:18.5.0" + dependencies: + readable-web-to-node-stream: ^3.0.2 + strtok3: ^7.0.0 + token-types: ^5.0.1 + checksum: d2bc81d842b110970a0ca9d90356ce4e9738c1c05596ce8931f2af334477856d92bcecd0742dc6646e13a970c0125150ad4415898688d1901d80e972d90ab1ca + languageName: node + linkType: hard + "fill-range@npm:^7.0.1": version: 7.0.1 resolution: "fill-range@npm:7.0.1" @@ -4610,28 +4651,6 @@ __metadata: languageName: node linkType: hard -"form-data@npm:^3.0.0": - version: 3.0.1 - resolution: "form-data@npm:3.0.1" - dependencies: - asynckit: ^0.4.0 - combined-stream: ^1.0.8 - mime-types: ^2.1.12 - checksum: b019e8d35c8afc14a2bd8a7a92fa4f525a4726b6d5a9740e8d2623c30e308fbb58dc8469f90415a856698933c8479b01646a9dff33c87cc4e76d72aedbbf860d - languageName: node - linkType: hard - -"form-data@npm:^4.0.0": - version: 4.0.0 - resolution: "form-data@npm:4.0.0" - dependencies: - asynckit: ^0.4.0 - combined-stream: ^1.0.8 - mime-types: ^2.1.12 - checksum: 01135bf8675f9d5c61ff18e2e2932f719ca4de964e3be90ef4c36aacfc7b9cb2fceb5eca0b7e0190e3383fe51c5b37f4cb80b62ca06a99aaabfcfd6ac7c9328c - languageName: node - linkType: hard - "from@npm:~0": version: 0.1.7 resolution: "from@npm:0.1.7" @@ -5066,6 +5085,13 @@ __metadata: languageName: node linkType: hard +"ieee754@npm:^1.2.1": + version: 1.2.1 + resolution: "ieee754@npm:1.2.1" + checksum: 5144c0c9815e54ada181d80a0b810221a253562422e7c6c3a60b1901154184f49326ec239d618c416c1c5945a2e197107aee8d986a3dd836b53dffefd99b5e7e + languageName: node + linkType: hard + "ignore@npm:^5.1.4, ignore@npm:^5.2.0": version: 5.2.0 resolution: "ignore@npm:5.2.0" @@ -6225,13 +6251,6 @@ __metadata: languageName: node linkType: hard -"lodash.uniqwith@npm:^4.5.0": - version: 4.5.0 - resolution: "lodash.uniqwith@npm:4.5.0" - checksum: d49a4565ed64efd86674127d321622673c29cde3e060baebc0f30372f22886c61b2ead44709db8c890053db1b9660e8ed689689812c1a485eb5703caa94d1150 - languageName: node - linkType: hard - "lodash.upperfirst@npm:^4.3.1": version: 4.3.1 resolution: "lodash.upperfirst@npm:4.3.1" @@ -6239,7 +6258,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.15": +"lodash@npm:^4.17.15, lodash@npm:^4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -6396,22 +6415,6 @@ __metadata: languageName: node linkType: hard -"mime-db@npm:1.51.0": - version: 1.51.0 - resolution: "mime-db@npm:1.51.0" - checksum: 613b1ac9d6e725cc24444600b124a7f1ce6c60b1baa654f39a3e260d0995a6dffc5693190217e271af7e2a5612dae19f2a73f3e316707d797a7391165f7ef423 - languageName: node - linkType: hard - -"mime-types@npm:^2.1.12": - version: 2.1.34 - resolution: "mime-types@npm:2.1.34" - dependencies: - mime-db: 1.51.0 - checksum: 67013de9e9d6799bde6d669d18785b7e18bcd212e710d3e04a4727f92f67a8ad4e74aee24be28b685adb794944814bde649119b58ee3282ffdbee58f9278d9f3 - languageName: node - linkType: hard - "mimic-fn@npm:^2.1.0": version: 2.1.0 resolution: "mimic-fn@npm:2.1.0" @@ -6973,6 +6976,13 @@ __metadata: languageName: node linkType: hard +"peek-readable@npm:^5.0.0": + version: 5.0.0 + resolution: "peek-readable@npm:5.0.0" + checksum: bef5ceb50586eb42e14efba274ac57ffe97f0ed272df9239ce029f688f495d9bf74b2886fa27847c706a9db33acda4b7d23bbd09a2d21eb4c2a54da915117414 + languageName: node + linkType: hard + "picocolors@npm:^1.0.0": version: 1.0.0 resolution: "picocolors@npm:1.0.0" @@ -7256,6 +7266,15 @@ __metadata: languageName: node linkType: hard +"readable-web-to-node-stream@npm:^3.0.2": + version: 3.0.2 + resolution: "readable-web-to-node-stream@npm:3.0.2" + dependencies: + readable-stream: ^3.6.0 + checksum: 8c56cc62c68513425ddfa721954875b382768f83fa20e6b31e365ee00cbe7a3d6296f66f7f1107b16cd3416d33aa9f1680475376400d62a081a88f81f0ea7f9c + languageName: node + linkType: hard + "readdirp@npm:~3.6.0": version: 3.6.0 resolution: "readdirp@npm:3.6.0" @@ -7776,7 +7795,7 @@ __metadata: "@typescript-eslint/parser": 5.59.11 babel-jest: ^28.1.3 colorette: 2.0.20 - discord.js: ^13.16.0 + discord.js: ^14.11.0 dotenv-cra: ^3.0.3 eslint: ~8.43.0 husky: 8.0.3 @@ -7993,6 +8012,16 @@ __metadata: languageName: node linkType: hard +"strtok3@npm:^7.0.0": + version: 7.0.0 + resolution: "strtok3@npm:7.0.0" + dependencies: + "@tokenizer/token": ^0.3.0 + peek-readable: ^5.0.0 + checksum: 2ebe7ad8f2aea611dec6742cf6a42e82764892a362907f7ce493faf334501bf981ce21c828dcc300457e6d460dc9c34d644ededb3b01dcb9e37559203cf1748c + languageName: node + linkType: hard + "sucrase@npm:^3.20.3": version: 3.20.3 resolution: "sucrase@npm:3.20.3" @@ -8185,6 +8214,16 @@ __metadata: languageName: node linkType: hard +"token-types@npm:^5.0.1": + version: 5.0.1 + resolution: "token-types@npm:5.0.1" + dependencies: + "@tokenizer/token": ^0.3.0 + ieee754: ^1.2.1 + checksum: 32780123bc6ce8b6a2231d860445c994a02a720abf38df5583ea957aa6626873cd1c4dd8af62314da4cf16ede00c379a765707a3b06f04b8808c38efdae1c785 + languageName: node + linkType: hard + "tr46@npm:^1.0.1": version: 1.0.1 resolution: "tr46@npm:1.0.1" @@ -8224,10 +8263,10 @@ __metadata: languageName: node linkType: hard -"ts-mixer@npm:^6.0.1": - version: 6.0.1 - resolution: "ts-mixer@npm:6.0.1" - checksum: 7050f6e85a24155d18cecdcc0a098d1038991cc498317fcffa9d7a8654c776d417fb97e65de1ce8e7ed54ef4814abd8057d0efb9c3b24e9cc78ac3c0f48bbf53 +"ts-mixer@npm:^6.0.3": + version: 6.0.3 + resolution: "ts-mixer@npm:6.0.3" + checksum: 7fbaba0a413bf817835a6a23d46bccf4192dd4d7345b6bae9d594c88acffac35bf4995ef3cce753090c8abcdf2afd16dba8899365584a1f960ccc2a15bf2e2d6 languageName: node linkType: hard @@ -8457,7 +8496,7 @@ __metadata: languageName: node linkType: hard -"undici@npm:^5.22.1": +"undici@npm:^5.22.0, undici@npm:^5.22.1": version: 5.22.1 resolution: "undici@npm:5.22.1" dependencies: