$playlist
$playlist
will return a list of tracks from the playlist.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
name | string | Playlist name | true |
userID? | snowflake | User ID | false |
page? | number | queue page | false |
limit? | number | maximum of songs to display | false |
format? | string | format to display information about the songs (see below) | false |
separator? | string | The separator between songs | false |
You require Playlist
setup in your manager instance.
Formatting
Field | Returns | Description |
---|---|---|
{position} | number | Song position in the queue |
{title} | string | Song title |
{thumbnail} | string | Song thumbnail (if any) |
{url} | string | Song url |
{duration} | string | Song duration |
{artist} | string | Song author |
{platform} | string | Track player platform |
{identifier} | string | Track identifier |
{isSeekable} | boolean | Return true if the track is seekable |
{isStream} | boolean | Return true if the track is streaming |
{isrc} | string | Track isrc |
{durationMs} | number | Song duration in milliseconds |
{albumName} | string | Song album name (if any) |
{albumUrl} | string | Song album url (if any) |
{artist.artworkUrl} | string | Artist artwork url (if any) |
{artist.url} | string | Artist url (if any) |
Example(s)
This will return a list of tracks from the playlist in the {position}) {title}
format
This will return a list of tracks from the playlist in the {position}) {title}
format