Skip to content

SearchQuery

type SearchQuery =
| {
extraQueryUrlParams?: URLSearchParams;
query: string;
source?: SearchPlatform;
}
| string;

Defined in: src/structures/Types/Utils.ts:680

SearchQuery Object for raw lavalink requests

{
extraQueryUrlParams?: URLSearchParams;
query: string;
source?: SearchPlatform;
}
Name Type Description Defined in
extraQueryUrlParams? URLSearchParams Extra url query params to use, e.g. for flowertts src/structures/Types/Utils.ts:685
query string lavalink search Query / identifier string src/structures/Types/Utils.ts:683
source? SearchPlatform Source to append to the search query string src/structures/Types/Utils.ts:687

string