Music
skipMusic
$skipMusic[]
Skips the currently playing track and plays the next track in the queue
Syntax
$skipMusic[]
Return Value
void
Skips to the next track; does not return a value
Skips the currently playing track. If there are tracks in the queue, the next one begins playing automatically. If the queue is empty, playback stops. Use $lavalinkQueueSize to check how many tracks remain after skipping.
Examples
Skip the current track
$skipMusic[]
$sendMessage[⏭️ Skipped!]
Skip with next track info
$skipMusic[]
$sendMessage[⏭️ Skipped! Now playing: $lavalinkPlaying[]]
Skip only if queue has tracks
$if[$lavalinkQueueSize[>0]]
$skipMusic[]
$sendMessage[⏭️ Skipped! $lavalinkQueueSize[] tracks remaining.]
$else
$skipMusic[]
$sendMessage[⏭️ Skipped! Queue is now empty.]
$endif