Skip to content

$playTrack

$playTrack will play a track using the specified method.

Usage

$playTrack[track;type]

Parameters

FieldTypeDescriptionRequired
trackstringtrack to playtrue
typestringplatform type
1. youtube
2. soundcloud
3. spotify
4. local (local file)
5. url (url which emits music or any other kind)
true

Example(s)

This will play a youtube video called “Silly Goose”:

1
client.command({
2
name: "playTrack",
3
code: `
4
$playTrack[Silly Goose;youtube]
5
`
6
});