From bf22b25342f83636992827ca4f0b17d7448735ed Mon Sep 17 00:00:00 2001 From: benny Date: Thu, 4 Aug 2022 15:09:26 +0545 Subject: [PATCH] fix docs --- docs/extractors/extractor.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/extractors/extractor.md b/docs/extractors/extractor.md index dff289b..eefac43 100644 --- a/docs/extractors/extractor.md +++ b/docs/extractors/extractor.md @@ -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! \ No newline at end of file +> Discord Player auto-detects and uses `@discord-player/extractor` if it is installed!