$trackLoadType
$trackLoadType
will return the load type given
query.
Usage
$trackLoadType[query;type?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
query | string |
Title or url of the song, this will returns:
track , playlist ,
search or error
|
true |
type | string |
Source type: youtube ,
soundcloud ,
spotify , deezer ,
applemusic , etc.
|
false |
Example(s)
This will return the load type given query
1client.command({2 name: 'loadtype',3 code: `4 $trackLoadType[Reckless;youtube]5 `6});
This will return the load type given query
1module.exports = [{2 name: "loadtype",3 code: `4 $trackLoadType[Reckless;youtube]5 `6}]