v5.0.0
$songInfo
Returns of info of the current playing song.
This function returns the <property> of the currently playing song.
Raw usage: $songInfo[property;position]

Exapmple for current playing song:

1
bot.command({
2
name: "songInfo",
3
code: `
4
Currrently Playing: $songInfo[title]
5
`
6
})
Copied!

Example for next playing song:

1
bot.command({
2
name: "next-song",
3
code: `
4
Next Playing: $songInfo[title;1]
5
`
6
})
Copied!

Properties:

  • 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.
The cuurent song's position is 0- so next one's is 1 and so on...
Last modified 1mo ago
Copy link
Edit on GitHub
Contents
Properties: