docs
This commit is contained in:
parent
3e5f911ce9
commit
eef4f50144
4 changed files with 20 additions and 5 deletions
|
@ -73,5 +73,17 @@ player.use("GiveItSomeName", myExtractor);
|
|||
player.unuse("GiveItSomeName");
|
||||
```
|
||||
|
||||
# Examples
|
||||
### You can check out **[@discord-player/extractor](https://github.com/Snowflake107/discord-player-extractors)**
|
||||
# Readymade Extractors
|
||||
## **[@discord-player/extractor](https://github.com/Snowflake107/discord-player-extractors)**
|
||||
This extractor enables optional sources such as `Discord Attachments`, `Vimeo`, `Facebook` and `Reverbnation`. It also enables the `Lyrics` feature!
|
||||
|
||||
## **[@discord-player/downloader](https://github.com/DevSnowflake/discord-player-downloader)**
|
||||
This extractor is based on **[YouTube DL](https://youtube-dl.org)**. This extractor enables `700+ websites` support. However, this extractor can get buggy and is not updated frequently. So, it is suggested to make your own extractor if you want to use it!
|
||||
|
||||
```js
|
||||
const downloader = require("@discord-player/downloader").Downloader;
|
||||
|
||||
player.use("YOUTUBE_DL", downloader);
|
||||
```
|
||||
|
||||
> Discord Player auto-detects and uses `@discord-player/extractor` if it is installed!
|
|
@ -12,4 +12,7 @@ const player = new Player(client, {
|
|||
}
|
||||
}
|
||||
});
|
||||
```
|
||||
```
|
||||
|
||||
> Keep in mind that using `cookies` after getting `429` **does not fix the problem**.
|
||||
> You should use `cookies` before getting `429` which helps to **_reduce_** `Error: Status Code 429`
|
|
@ -1232,7 +1232,7 @@ export default Player;
|
|||
* @param {DiscordMessage} message The message
|
||||
* @param {String} query The query
|
||||
* @param {Track[]} tracks The tracks
|
||||
* @param {DiscordCollector} collector The collector
|
||||
* @param {DiscordMessageCollector} collector The collector
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,7 +23,7 @@ export class Track {
|
|||
*/
|
||||
constructor(player: Player, data: TrackData) {
|
||||
/**
|
||||
* The player that instantiated this Queue
|
||||
* The player that instantiated this Track
|
||||
* @name Track#player
|
||||
* @type {Player}
|
||||
* @readonly
|
||||
|
|
Loading…
Reference in a new issue