fix docs
This commit is contained in:
parent
1945f808f1
commit
bf22b25342
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ The Extractor API allows you to build your own stream extractor for **Discord Pl
|
|||
Your extractor should have 2 methods (required):
|
||||
- `validate(query): boolean`
|
||||
|
||||
This method is called by Discord Player while validating the query provided via `Player.play()`. (Note that only `string` queries are passed to your extractor)
|
||||
This method is called by Discord Player while validating the query provided via `Player.search()`. (Note that only `string` queries are passed to your extractor)
|
||||
|
||||
- `getInfo(query): object`
|
||||
|
||||
|
@ -83,4 +83,4 @@ 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!
|
||||
> Discord Player auto-detects and uses `@discord-player/extractor` if it is installed!
|
||||
|
|
Loading…
Reference in a new issue