fix DeprecationWarning of autoRegisterExtractor
This commit is contained in:
parent
32587c7a7d
commit
6c5dd185bc
1 changed files with 2 additions and 0 deletions
|
@ -39,11 +39,13 @@ export default async () => {
|
|||
};
|
||||
|
||||
const player = Player.singleton(client, {
|
||||
autoRegisterExtractor: false,
|
||||
ytdlOptions: {
|
||||
filter: "audioonly",
|
||||
quality: "highestaudio",
|
||||
},
|
||||
});
|
||||
await player.extractors.loadDefault();
|
||||
|
||||
player.lyrics = lyricsExtractor();
|
||||
|
||||
|
|
Loading…
Reference in a new issue