Skip to content

$searchEngine

$searchEngine will set or return the default search engine.

Usage

$searchEngine[type?]

Parameters

FieldTypeDescriptionRequired
type?stringSource type: youtube, soundcloud, spotify, deezer, applemusic, etc.false

Example(s)

This will set or return the default search engine

1
client.command({
2
name: "searchengine",
3
code: `
4
$searchEngine // return spotify
5
6
$searchEngine[spotify]
7
8
$searchEngine // return youtube
9
`
10
});