diff --git a/package.json b/package.json index bbbb955..c9149fa 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@sapphire/decorators": "^3.1.2", "@sapphire/discord.js-utilities": "^4.0.0", "@sapphire/fetch": "^2.0.2", - "@sapphire/framework": "^2.1.3", + "@sapphire/framework": "^4.8.2", "@sapphire/pieces": "^3.1.0", "@sapphire/plugin-api": "^3.0.1", "@sapphire/plugin-editable-commands": "^1.0.1", diff --git a/yarn.lock b/yarn.lock index 07f9055..333695e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20,11 +20,29 @@ ts-mixer "^6.0.0" tslib "^2.3.1" +"@discordjs/builders@^1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@discordjs/builders/-/builders-1.7.0.tgz#e2478c7e55b0f4c40837edb8f102bce977323a37" + integrity sha512-GDtbKMkg433cOZur8Dv6c25EHxduNIBsxeHrsRoIM8+AwmEZ8r0tEpckx/sHwTLwQPOF3e2JWloZh9ofCaMfAw== + dependencies: + "@discordjs/formatters" "^0.3.3" + "@discordjs/util" "^1.0.2" + "@sapphire/shapeshift" "^3.9.3" + discord-api-types "0.37.61" + fast-deep-equal "^3.1.3" + ts-mixer "^6.0.3" + tslib "^2.6.2" + "@discordjs/collection@^0.3.1", "@discordjs/collection@^0.3.2": version "0.3.2" resolved "https://registry.yarnpkg.com/@discordjs/collection/-/collection-0.3.2.tgz#3c271dd8a93dad89b186d330e24dbceaab58424a" integrity sha512-dMjLl60b2DMqObbH1MQZKePgWhsNe49XkKBZ0W5Acl5uVV43SN414i2QfZwRI7dXAqIn8pEWD2+XXQFn9KWxqg== +"@discordjs/collection@^1.5.3": + version "1.5.3" + resolved "https://registry.yarnpkg.com/@discordjs/collection/-/collection-1.5.3.tgz#5a1250159ebfff9efa4f963cfa7e97f1b291be18" + integrity sha512-SVb428OMd3WO1paV3rm6tSjM4wC+Kecaa1EUGX7vc6/fddvw/6lg90z4QtCqm21zvVe92vMMDt9+DkIvjXImQQ== + "@discordjs/form-data@^3.0.1": version "3.0.1" resolved "https://registry.yarnpkg.com/@discordjs/form-data/-/form-data-3.0.1.tgz#5c9e6be992e2e57d0dfa0e39979a850225fb4697" @@ -34,6 +52,13 @@ combined-stream "^1.0.8" mime-types "^2.1.12" +"@discordjs/formatters@^0.3.3": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@discordjs/formatters/-/formatters-0.3.3.tgz#b16fdd79bb819680ab7e519193004e9dc124a749" + integrity sha512-wTcI1Q5cps1eSGhl6+6AzzZkBBlVrBdc9IUhJbijRgVjCNIIIZPgqnUj3ntFODsHrdbGU8BEG9XmDQmgEEYn3w== + dependencies: + discord-api-types "0.37.61" + "@discordjs/node-pre-gyp@^0.4.1": version "0.4.2" resolved "https://registry.yarnpkg.com/@discordjs/node-pre-gyp/-/node-pre-gyp-0.4.2.tgz#37dd27f8d353eeb87372fcce059c5249550b37ab" @@ -49,6 +74,11 @@ semver "^7.3.5" tar "^6.1.11" +"@discordjs/util@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@discordjs/util/-/util-1.0.2.tgz#dc1896d764452b1bd9707eb9aa99ccfbb30bd1c0" + integrity sha512-IRNbimrmfb75GMNEjyznqM1tkI7HrZOf14njX7tCAAUetyZM1Pr8hX/EK2lxBCOgWDRmigbp24fD1hdMfQK5lw== + "@discordjs/voice@^0.7.2": version "0.7.5" resolved "https://registry.yarnpkg.com/@discordjs/voice/-/voice-0.7.5.tgz#c95bd4ecf73905f51990827df5209eb26472dbd5" @@ -78,14 +108,21 @@ dependencies: tslib "^2.3.1" -"@sapphire/discord-utilities@^2.2.3", "@sapphire/discord-utilities@^2.3.0": +"@sapphire/discord-utilities@^2.3.0": version "2.3.0" resolved "https://registry.yarnpkg.com/@sapphire/discord-utilities/-/discord-utilities-2.3.0.tgz#de2ba8190970902fba7f4c07178faa7db119c765" integrity sha512-GQwuJxDCFIrXJ/K4KLDefroi0uy4WzBFiea3UB8aOHolqkobQM6mFbRkZ6aBzTBcAknqucFDa7MOHfU2QmnQkA== dependencies: twemoji-parser "^13.1.0" -"@sapphire/discord.js-utilities@^4.0.0", "@sapphire/discord.js-utilities@^4.1.3": +"@sapphire/discord-utilities@^3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@sapphire/discord-utilities/-/discord-utilities-3.2.0.tgz#93bae34482e32fc0e5a51e3bc45600ebfe261e7a" + integrity sha512-gKgTkWIBgkG0c+V3ALXeoD7XeciAYQtHNewjltSMaxCLF/wsy6NFj6xxqdEeSJMF40tcfUJ7F44r2DR5r3K8Eg== + dependencies: + discord-api-types "^0.37.63" + +"@sapphire/discord.js-utilities@^4.0.0": version "4.1.4" resolved "https://registry.yarnpkg.com/@sapphire/discord.js-utilities/-/discord.js-utilities-4.1.4.tgz#85b48bbfd382dc185b892579e16311ea5700c8fc" integrity sha512-bdErZSKufxlOR4twH3Pa12CnQHJiauSzZGJMZ9EIZWob4khmpsAL4g3am5EP2Ifdpu1RJUYJAY7v4lS85De7AA== @@ -95,6 +132,21 @@ "@sapphire/utilities" "^3.1.0" tslib "^2.3.1" +"@sapphire/discord.js-utilities@^7.1.2": + version "7.1.2" + resolved "https://registry.yarnpkg.com/@sapphire/discord.js-utilities/-/discord.js-utilities-7.1.2.tgz#ec7dad2ee2dbc5cda9f1572a0bddada33f130e55" + integrity sha512-Ly/mtykmX7lak4+fzVbDvch0xnlAwDIDGZGg9mGuZVHdA4sINWcVoCNulI+OqoZWdLCfUKph32KvXGESzriD7A== + dependencies: + "@sapphire/discord-utilities" "^3.2.0" + "@sapphire/duration" "^1.1.0" + "@sapphire/utilities" "^3.13.0" + tslib "^2.6.2" + +"@sapphire/duration@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@sapphire/duration/-/duration-1.1.0.tgz#941d93585c6dd434d4d3416c28d2eb20d936db19" + integrity sha512-ATb2pWPLcSgG7bzvT6MglUcDexFSufr2FLXUmhipWGFtZbvDhkopGBIuHyzoGy7LZvL8UY5T6pRLNdFv5pl/Lg== + "@sapphire/fetch@^2.0.2": version "2.0.3" resolved "https://registry.yarnpkg.com/@sapphire/fetch/-/fetch-2.0.3.tgz#37d914d41ec3f9c6cf96581f65e12a1515a4fc1a" @@ -102,27 +154,36 @@ dependencies: cross-fetch "^3.1.4" -"@sapphire/framework@^2.1.3": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@sapphire/framework/-/framework-2.2.0.tgz#53149d3f01809f09b9695515e0340e4d6b0407ac" - integrity sha512-KDDwasVbF6cPaZvOv2wPm9Uci9m1fyrXoLMkiNK0CEZpqWBMgH2j4iCTFnToX4i2e0847FCb1NyLW2ap3JLhCA== +"@sapphire/framework@^4.8.2": + version "4.8.2" + resolved "https://registry.yarnpkg.com/@sapphire/framework/-/framework-4.8.2.tgz#1e031fccc7aacfdfdb2e03ef038d7a59d581e31e" + integrity sha512-MJH6NkdZtZ9DgcPD3ExQnjO7UYdZm2WQBC29jb9A6kmYzd/y+8/unSjURgDQQhw6+60QWN7tPJXCVQJmmlPVCw== + dependencies: + "@discordjs/builders" "^1.7.0" + "@sapphire/discord-utilities" "^3.2.0" + "@sapphire/discord.js-utilities" "^7.1.2" + "@sapphire/lexure" "^1.1.5" + "@sapphire/pieces" "^3.10.0" + "@sapphire/ratelimits" "^2.4.7" + "@sapphire/result" "^2.6.4" + "@sapphire/stopwatch" "^1.5.0" + "@sapphire/utilities" "^3.13.0" + +"@sapphire/lexure@^1.1.5": + version "1.1.5" + resolved "https://registry.yarnpkg.com/@sapphire/lexure/-/lexure-1.1.5.tgz#eba194cf3a5e59432b2f0649cf86050acb91bb4a" + integrity sha512-afVTCLHezlyvdvvOcEeCzMA05l1yje9axtY7gWQpDcppOazskYPgGMVCdAbfHz5BsyABMZYT2MznY+phEgFc8Q== dependencies: - "@sapphire/discord-utilities" "^2.2.3" - "@sapphire/discord.js-utilities" "^4.1.3" - "@sapphire/pieces" "^3.2.0" - "@sapphire/ratelimits" "^2.1.9" - "@sapphire/utilities" "^3.1.0" - lexure "^0.17.0" - tslib "^2.3.1" + "@sapphire/result" "^2.6.4" -"@sapphire/pieces@^3.1.0", "@sapphire/pieces@^3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@sapphire/pieces/-/pieces-3.2.0.tgz#6ce871222d2686b95c12e04b62961897a29bf803" - integrity sha512-7V7R2ouluY5XBEN73cjwMuKI8O4RsSSH8VY6xzYxbMKBA+LAGo0nPTMZ/XzEgHDopIrbcYKJMVZHpjKHWhniKA== +"@sapphire/pieces@^3.1.0", "@sapphire/pieces@^3.10.0": + version "3.10.0" + resolved "https://registry.yarnpkg.com/@sapphire/pieces/-/pieces-3.10.0.tgz#27e8c122bcd81bf46b5a9dceee5306b57f406504" + integrity sha512-iBaux50dA+VYjtBqmaceWcskdmw7ua51ojEPkyaSJyg2t9ln/Wc9NqYoQheRCWltZeDTERCUBIYYMqDuCs1Okw== dependencies: - "@discordjs/collection" "^0.3.2" - "@sapphire/utilities" "^3.1.0" - tslib "^2.3.1" + "@discordjs/collection" "^1.5.3" + "@sapphire/utilities" "^3.13.0" + tslib "^2.6.2" "@sapphire/plugin-api@^3.0.1": version "3.1.0" @@ -167,19 +228,30 @@ dependencies: prettier "^2.5.0" -"@sapphire/ratelimits@^2.1.4", "@sapphire/ratelimits@^2.1.9": - version "2.1.10" - resolved "https://registry.yarnpkg.com/@sapphire/ratelimits/-/ratelimits-2.1.10.tgz#cab31c3f73e1c3cddd89197d20af732b78f8b88a" - integrity sha512-xcNRJPyvOMB/76IrZulNtJp38H4kDUE8ZzpTTkm9fAV2rut08zF5G74+rT8gDqfof9qUYRsgM+kmRru8TweiDA== +"@sapphire/ratelimits@^2.1.4", "@sapphire/ratelimits@^2.4.7": + version "2.4.7" + resolved "https://registry.yarnpkg.com/@sapphire/ratelimits/-/ratelimits-2.4.7.tgz#bc4754bb29e275ab321f68a09556857265162d2d" + integrity sha512-IJQySiK+A8P4E+0oW2TGDy4RBjMsw3hccFL0y4kjQ2VZNzPDHJSYR4Pb1TzlG6V9YTVdCNWJODFXXyVn3tEQ/A== + +"@sapphire/result@^2.6.4": + version "2.6.4" + resolved "https://registry.yarnpkg.com/@sapphire/result/-/result-2.6.4.tgz#13816254f94a42a95b9d6068ddc81fbf2173ded4" + integrity sha512-o6rAnNbtumhR4Iy9t1p3xtOG9WtfO2OyyyaBrGUNThmhqf1cwvl5CO3/E0Hd66qdkuSqpJqC9TnnGzTmSoDd6A== + +"@sapphire/shapeshift@^3.9.3": + version "3.9.3" + resolved "https://registry.yarnpkg.com/@sapphire/shapeshift/-/shapeshift-3.9.3.tgz#89d26713044bc21cc5e0845e61a8a328ca3c1a84" + integrity sha512-WzKJSwDYloSkHoBbE8rkRW8UNKJiSRJ/P8NqJ5iVq7U2Yr/kriIBx2hW+wj2Z5e5EnXL1hgYomgaFsdK6b+zqQ== dependencies: - "@sapphire/time-utilities" "^1.5.0" + fast-deep-equal "^3.1.3" + lodash "^4.17.21" -"@sapphire/stopwatch@^1.2.3": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@sapphire/stopwatch/-/stopwatch-1.2.4.tgz#d7eaf7ab53ef9f43c4e4d1eb9185b5792237d8a7" - integrity sha512-THiIVTVYZbLloyFeRB0ISWSW275/l6ZatWrf15rYX/qCdTmn5ZyNfJHVZEUnCcO1juCQVEMK5/kXoYrHucxBaQ== +"@sapphire/stopwatch@^1.2.3", "@sapphire/stopwatch@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@sapphire/stopwatch/-/stopwatch-1.5.0.tgz#4acf7352f969f0c81d69a838ecbfc8b6026ff660" + integrity sha512-DtyKugdy3JTqm6JnEepTY64fGJAqlusDVrlrzifEgSCfGYCqpvB+SBldkWtDH+z+zLcp+PyaFLq7xpVfkhmvGg== dependencies: - tslib "^2.3.1" + tslib "^2.4.0" "@sapphire/time-utilities@^1.4.4", "@sapphire/time-utilities@^1.4.9", "@sapphire/time-utilities@^1.5.0": version "1.5.0" @@ -205,10 +277,10 @@ nan "^2.15.0" tslib "^2.3.1" -"@sapphire/utilities@^3.0.4", "@sapphire/utilities@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@sapphire/utilities/-/utilities-3.1.0.tgz#50f18c8ae10535c4fde6b2c68c2a45262c45756f" - integrity sha512-Vwsd567hZ1LPDh791r4DHwxlO1EzUefjYhNj+kwbliHWK2TVPhMvF5v1eZKtUCgdBmobqa8CBPwCwymHstuj5w== +"@sapphire/utilities@^3.0.4", "@sapphire/utilities@^3.1.0", "@sapphire/utilities@^3.13.0": + version "3.13.0" + resolved "https://registry.yarnpkg.com/@sapphire/utilities/-/utilities-3.13.0.tgz#04fd73281ad4cd63c2c87ffbac3faa393d77cf95" + integrity sha512-BD5ycPjZX5dXxrAb90dJTY8ukpPVBXgU17gA5ghK2memS4hwAzFYpvK+R+6zh4d6HYIKVuqrVhGXjvZenAa/Aw== "@sindresorhus/is@^4.0.1", "@sindresorhus/is@^4.2.0": version "4.2.0" @@ -570,6 +642,11 @@ detect-libc@^1.0.3: resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= +discord-api-types@0.37.61: + version "0.37.61" + resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.37.61.tgz#9dd8e58c624237e6f1b23be2d29579af268b8c5b" + integrity sha512-o/dXNFfhBpYHpQFdT6FWzeO7pKc838QeeZ9d91CfVAtpr5XLK4B/zYxQbYgPdoMiTDvJfzcsLW5naXgmHGDNXw== + discord-api-types@^0.24.0: version "0.24.0" resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.24.0.tgz#9e429b8a1ddb4147134dfb3109093422de7ec549" @@ -580,6 +657,11 @@ discord-api-types@^0.25.2: resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.25.2.tgz#e50ed152e6d48fe7963f5de1002ca6f2df57c61b" integrity sha512-O243LXxb5gLLxubu5zgoppYQuolapGVWPw3ll0acN0+O8TnPUE2kFp9Bt3sTRYodw8xFIknOVxjSeyWYBpVcEQ== +discord-api-types@^0.37.63: + version "0.37.63" + resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.37.63.tgz#ba7e6b425806fc7335afbdff69fc006dc6daf208" + integrity sha512-WbEDWj/1JGCIC1oCMIC4z9XbYY8PrWpV5eqFFQymJhJlHMqgIjqoYbU812X5oj5cwbRrEh6Va4LNLumB2Nt6IQ== + discord.js@^13.0.1, discord.js@^13.2.0: version "13.3.1" resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-13.3.1.tgz#94fe05bc3ec0a3e4761e4f312a2a418c29721ab6" @@ -642,6 +724,11 @@ event-stream@=3.3.4: stream-combiner "~0.0.4" through "~2.3.1" +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + fast-safe-stringify@^2.0.7, fast-safe-stringify@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" @@ -831,11 +918,6 @@ js-yaml@^4.0.0: dependencies: argparse "^2.0.1" -lexure@^0.17.0: - version "0.17.0" - resolved "https://registry.yarnpkg.com/lexure/-/lexure-0.17.0.tgz#95c26ee49dc3df5f28e2826b1647eb7569aab12a" - integrity sha512-0L8GqFgPW36sLNqxdp2VOOef5Ajpb98kc0Zk4AzE+Yf0xYTDndcT1vpFqwkTdrCCw+FV8DH4mC9NUw0RlARThA== - libsodium-wrappers@^0.7.9: version "0.7.9" resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.9.tgz#4ffc2b69b8f7c7c7c5594a93a4803f80f6d0f346" @@ -868,6 +950,11 @@ lodash.isequal@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA= +lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -1421,6 +1508,11 @@ ts-mixer@^6.0.0: resolved "https://registry.yarnpkg.com/ts-mixer/-/ts-mixer-6.0.0.tgz#4e631d3a36e3fa9521b973b132e8353bc7267f9f" integrity sha512-nXIb1fvdY5CBSrDIblLn73NW0qRDk5yJ0Sk1qPBF560OdJfQp9jhl+0tzcY09OZ9U+6GpeoI9RjwoIKFIoB9MQ== +ts-mixer@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/ts-mixer/-/ts-mixer-6.0.3.tgz#69bd50f406ff39daa369885b16c77a6194c7cae6" + integrity sha512-k43M7uCG1AkTyxgnmI5MPwKoUvS/bRvLvUb7+Pgpdlmok8AoqmUaZxUUw8zKM5B1lqZrt41GjYgnvAi0fppqgQ== + tsc-watch@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/tsc-watch/-/tsc-watch-4.5.0.tgz#d6884b932822b2c2ccd37f1c1f3748304566a474" @@ -1437,6 +1529,11 @@ tslib@^2.1.0, tslib@^2.3.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== +tslib@^2.4.0, tslib@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + twemoji-parser@^13.1.0: version "13.1.0" resolved "https://registry.yarnpkg.com/twemoji-parser/-/twemoji-parser-13.1.0.tgz#65e7e449c59258791b22ac0b37077349127e3ea4"