Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite authored Aug 4, 2022
1 parent 1945f80 commit bf22b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/extractors/extractor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down Expand Up @@ -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!

0 comments on commit bf22b25

Please sign in to comment.