Skip to content

$playTrack

$playTrack will play a track using the specified method.

Usage

$playTrack[query;type?]

Parameters

FieldTypeDescriptionRequired
querystringtrack to playtrue
type?stringSource type: youtube, youtubemusic, applemusic, soundcloud, spotify, deezer, etc. depends on your lavalink nodefalse

Example(s)

This will play a track using the specified method

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