This commit is contained in:
benny 2022-08-04 15:09:26 +05:45 committed by GitHub
parent 1945f808f1
commit bf22b25342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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): Your extractor should have 2 methods (required):
- `validate(query): boolean` - `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` - `getInfo(query): object`