fix DeprecationWarning of autoRegisterExtractor

This commit is contained in:
Mylloon 2023-04-27 22:01:14 +02:00
parent 32587c7a7d
commit 6c5dd185bc
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -39,11 +39,13 @@ export default async () => {
}; };
const player = Player.singleton(client, { const player = Player.singleton(client, {
autoRegisterExtractor: false,
ytdlOptions: { ytdlOptions: {
filter: "audioonly", filter: "audioonly",
quality: "highestaudio", quality: "highestaudio",
}, },
}); });
await player.extractors.loadDefault();
player.lyrics = lyricsExtractor(); player.lyrics = lyricsExtractor();