diff --git a/package-lock.json b/package-lock.json index 1acfdf5..54f9e54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@prisma/client": "^5.22.0", "blagues-api": "^2.1.1", "cron": "^3.2.1", - "discord-player": "6.6.9-dev.1", + "discord-player": "^6.7.1", "discord-player-youtubei": "^1.3.3", "discord.js": "^14.16.3", "dotenv": "^16.0.3", @@ -2113,6 +2113,15 @@ "npm": ">=7.0.0" } }, + "node_modules/@web-scrobbler/metadata-filter": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@web-scrobbler/metadata-filter/-/metadata-filter-3.2.0.tgz", + "integrity": "sha512-K2Wkq9AOJkgj4Hk9g0flKnNWYkJy1GTPpHTgpNLU5OXaXgqPKLyrtb62M1cIxMN3ESH6XGvPKM92VEl/Gc3Rog==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", @@ -2910,23 +2919,23 @@ "license": "MIT" }, "node_modules/discord-player": { - "version": "6.6.9-dev.1", - "resolved": "https://registry.npmjs.org/discord-player/-/discord-player-6.6.9-dev.1.tgz", - "integrity": "sha512-Iixfyb9YrtAULKf+pYuc7mORabDb7H46CahlpF/OtQq6xDL+yD41FYXQLRBKeHLG4H1nsaOvi384zFx62BWkvQ==", + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/discord-player/-/discord-player-6.7.1.tgz", + "integrity": "sha512-ScQmChpZebpVzs+RMsSkCXSORUIXUR3aHsEssGZSLKrbWnregt3jVc39emftTt6EfarZ2TvTK262mXeAYPzpcQ==", "license": "MIT", "dependencies": { "@discord-player/equalizer": "^0.2.3", "@discord-player/ffmpeg": "^0.1.0", "@discord-player/utils": "^0.2.2", + "@web-scrobbler/metadata-filter": "^3.1.0", "discord-voip": "^0.1.3", - "ip": "^2.0.1", "libsodium-wrappers": "^0.7.13" }, "funding": { "url": "https://github.com/Androz2091/discord-player?sponsor=1" }, "peerDependencies": { - "@discord-player/extractor": "^4.4.7" + "@discord-player/extractor": "^4.5.0" } }, "node_modules/discord-player-youtubei": { @@ -4566,12 +4575,6 @@ "node": ">= 0.4" } }, - "node_modules/ip": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz", - "integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==", - "license": "MIT" - }, "node_modules/is-array-buffer": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", diff --git a/package.json b/package.json index 1697f58..a8a3be8 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@prisma/client": "^5.22.0", "blagues-api": "^2.1.1", "cron": "^3.2.1", - "discord-player": "6.6.9-dev.1", + "discord-player": "^6.7.1", "discord-player-youtubei": "^1.3.3", "discord.js": "^14.16.3", "dotenv": "^16.0.3", diff --git a/src/deploy-commands.ts b/src/deploy-commands.ts index d2d8bdd..aba7795 100644 --- a/src/deploy-commands.ts +++ b/src/deploy-commands.ts @@ -12,7 +12,7 @@ const contextCommandsData = [ ...Object.values(contextUserMenus).map((command) => command.data) ] -const rest = new REST({ version: '9', timeout: 15000 }).setToken(config.DISCORD_TOKEN) +const rest = new REST().setToken(config.DISCORD_TOKEN) /** * Deploys the commands to the Discord application.