description |
---|
Returns of info of the current playing song. |
This function returns the <property> of the currently playing song.
Raw usage: $songInfo[property;position]
bot.command({
name: "songInfo",
code: `
Currrently Playing: $songInfo[title]
`
})
bot.command({
name: "next-song",
code: `
Next Playing: $songInfo[title;1]
`
})
- title - Song Title
- description - Description of the song's YouTube video.
- duration - Duration of the song
- duration_left - Duration left for the song to end.
- current_duration - The current duration of the song.
- url - URL to the youtube video of the current song.
- userID - ID of the sser that added the song.
- thumbnail - The thumbnail of the song.
- publisher - Channel that uploaded the song.
- publisher_url - Link of the channel that uploaded the song.
{% hint style="info" %}
The cuurent song's position is 0
- so next one's is 1
and so on...
{% endhint %}