v5.0.0
$clearSongQueue
Clears all songs in queue besides 1st song in queue.
With this function you can clear the song queue completely but let the bot finish the current song before ending the music playback so queue will be purged but current song won't stop the playback.

Example Usage:

1
bot.command({
2
name: "clear-queue",
3
code: `
4
I cleared the song queue and stop the music playback after the current song!
5
$clearSongQueue
6
`
7
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub