diff --git a/README.md b/README.md index e31a10fed..fe1e8dea3 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,11 @@ const client = new Discord.Client({ }); // this is the entrypoint for discord-player based application -const player = new Player(client); +const player = new Player(client, { + autoRegisterExtractor: false // This is to prevent the Deprecation Warning +}); +// This is to load the default extractors from the @discord-player/extractor package +await player.extractors.loadDefault(); ``` > **Did You Know?** _Discord Player is by default a singleton._ diff --git a/docs/community/community_resources.md b/docs/community/community_resources.md index fc9a0af04..077ef2eaa 100644 --- a/docs/community/community_resources.md +++ b/docs/community/community_resources.md @@ -19,7 +19,7 @@ An unofficial extractor for discord-player to add support for deezer source. | [Yeci](https://github.com/yeci226/yeci-bot) | I am using discord-player to play music with shards | v6.0.0 | | [Lofi Girl bot](https://github.com/Greensky-gs/Lofi-girl) | I made a Lofi music bot with discord-player | v6.0.0 | | [Auricle](https://github.com/itsauric/auricle-music-bot) | This is a music bot created by using the [sapphire framework](https://github.com/sapphiredev/framework) & [discord-player](https://github.com/Androz2091/discord-player/tree/master) with this project being written in TypeScript. | v6.1.1 | -| [Jappan](https://github.com/febkosq8/Jappan) | A simple discord bot made to make someone's life easier. Currently features Music Playback, Fun Commands, Leveling System & Moderation Tools | v6.1.0 | +| [Jappan](https://github.com/febkosq8/Jappan) | A simple discord bot made to make someone's life easier. Currently features Music Playback, Fun Commands, Leveling System & Moderation Tools | v6.2.1 | | [Botanique](https://git.mylloon.fr/ConfrerieDuKassoulait/Botanique) | A bot I made with [my girlfriend](https://github.com/2-1-1-2), we're using discord-player for the music and for lyrics | v6.1.0 | | [Bhop Music Bot](https://github.com/akanora/bhop-music-bot) | There were not many bots made with discord-player 6.0.0 and discord.js 14.7.1, I was bored and made a simple one. We are using discord-player to listen music while bhopping. 🐇| v6.1.0 | | [Music Disc](https://github.com/hmes98318/Music-Disc) | I am using discord-player v6 to play music on Discord with friends. It's easy to set up and run yourself. | v6.1.1 | diff --git a/docs/migrating/migrating.md b/docs/migrating/migrating.md index 9d668cf78..82a3b0850 100644 --- a/docs/migrating/migrating.md +++ b/docs/migrating/migrating.md @@ -66,7 +66,11 @@ const client = new Discord.Client({ }); // this is the entrypoint for discord-player based application -const player = new Player(client); +const player = new Player(client, { + autoRegisterExtractor: false // This is to prevent the Deprecation Warning +}); +// This is to load the default extractors from the @discord-player/extractor package +await player.extractors.loadDefault(); ``` > **Did You Know?** _Discord Player is by default a singleton._