From fbf4a50884d26581d388f0cfb5da13e7a1c9e17d Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Sat, 10 Apr 2021 12:39:03 +0545 Subject: [PATCH] readme --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 969d031..a8994ed 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,19 @@ $ npm install --save @discordjs/opus - Custom extractors support 🌌 - Lyrics 📃 +# Sources supported +> By default, **discord-player** supports `youtube`, `spotify`, `soundcloud`, `vimeo`, `reverbnation`, `facebook` and `attachment links` only. + +**Discord Player** provides **extractor API** that enables you to use your custom stream extractor with it. For example, you can use **youtube-dl** with **discord-player** like this: + +```js +const { Downloader } = require("@discord-player/downloader"); // YouTubeDL instance + +player.use("EXAMPLE", Downloader); // now discord-player supports 700+ sites :poggies: +``` + +or you can build your own :D + # License MIT License