$playTrack
$playTrack
will play a track using the specified
method.
Usage
$playTrack[query;type?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
query | string | track to play | true |
type? | string |
Source type: youtube ,
youtubemusic ,
applemusic ,
soundcloud ,
spotify , deezer ,
etc. depends on your lavalink node
|
false |
Example(s)
This will play a track using the specified method
1client.command({2 name: 'play',3 code: `4 $playTrack[Reckless;youtube]5 `6});
This will play a track using the specified method
1module.exports = [{2 name: "play",3 code: `4 $playTrack[Reckless;youtube]5 `6}]