string language : Sets language of searched content [ YouTube search only. ], e.g. "en-US"
boolean unblurNSFWThumbnails : Unblurs NSFW thumbnails. Defaults to false [ YouTube search only. ]
!!! Before enabling this for public servers, please consider using Discord features like NSFW channels as not everyone in your server wants to see NSFW images. !!!
Unblurred images will likely have different dimensions than specified in the YouTubeThumbnail objects.
boolean fuzzy : Whether the search should be fuzzy or only return exact matches. Defaults to true. [ for Deezer Only ]
Object source : Contains type of source and type of result you want to have
Searches through a particular source and gives respective info.
Example
Param: query
string to search.
Param: options
numberlimit : No of searches you want to have.stringlanguage : Sets language of searched content [ YouTube search only. ], e.g. "en-US"booleanunblurNSFWThumbnails : Unblurs NSFW thumbnails. Defaults tofalse[ YouTube search only. ] !!! Before enabling this for public servers, please consider using Discord features like NSFW channels as not everyone in your server wants to see NSFW images. !!! Unblurred images will likely have different dimensions than specified in the YouTubeThumbnail objects.booleanfuzzy : Whether the search should be fuzzy or only return exact matches. Defaults totrue. [ forDeezerOnly ]Objectsource : Contains type of source and type of result you want to haveReturns
Array of YouTube or Spotify or SoundCloud or Deezer type