$playTrack
$playTrack
will play a track using the specified method.
Usage
$playTrack[track;type]
Parameters
Field | Type | Description | Required |
---|---|---|---|
track | string | track to play | true |
type | string | platform 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”:
1client.command({2 name: "playTrack",3 code: `4 $playTrack[Silly Goose;youtube]5 `6});