$searchEngine
$searchEngine
will set or return the default search
engine.
Usage
$searchEngine[type?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
type? | string |
Source type: youtube ,
soundcloud ,
spotify , deezer ,
applemusic , etc.
|
false |
Example(s)
This will set or return the default search engine
1client.command({2 name: 'searchengine',3 code: `4 $searchEngine // return spotify5
6 $searchEngine[spotify]7
8 $searchEngine // return youtube9 `10});
This will set or return the default search engine
1module.exports = [{2 name: "searchengine",3 code: `4 $searchEngine // return spotify5
6 $searchEngine[spotify]7
8 $searchEngine // return youtube9 `10}]