diff --git a/package.json b/package.json index 6a80e0ab..66c12a1f 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "sync-fetch": "^0.3.1", "tsx": "3.8.2", "xbytes": "^1.7.0", - "ytdl-core": "^4.11.5", + "@distube/ytdl-core": "^4.13.5", "ytsr": "^3.8.4" }, "resolutions": { diff --git a/src/services/player.ts b/src/services/player.ts index 0da80a4b..592ecc0b 100644 --- a/src/services/player.ts +++ b/src/services/player.ts @@ -1,7 +1,7 @@ import {VoiceChannel, Snowflake} from 'discord.js'; import {Readable} from 'stream'; import hasha from 'hasha'; -import ytdl, {videoFormat} from 'ytdl-core'; +import ytdl, {videoFormat} from '@distube/ytdl-core'; import {WriteStream} from 'fs-capacitor'; import ffmpeg from 'fluent-ffmpeg'; import shuffle from 'array-shuffle';