Constructor
new Track(url)
Parameters:
Name | Type | Description |
---|---|---|
url |
String | URL to stream from |
- Source:
Methods
(async) play() → {Promise.<?AudioResource>}
Creates an AudioResource and returns it
- Source:
Returns:
- Type
- Promise.<?AudioResource>
(async) preload()
Preloads the track
- Source: