bot.musicStartCommand
A command that gets executed everytime the bot starts playing a new song.

Usage:

1
bot.musicStartCommand({
2
channel: "channel", //Channel where the logs are going
3
code: `your code` //Code
4
})
Copied!

Example Command:

This command triggers whenever a new song starts to play. You can use $songInfo in the code to show information about the new song. $channelID is where the play command was executed.
1
bot.musicStartCommand({
2
channel: "$channelID",
3
code: `Now Playing: $songInfo[title] of $songInfo[publisher]`
4
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub