Music stopMusic

$stopMusic[]

Stops music playback and clears the entire queue

Syntax
$stopMusic[]

Return Value

void

Stops playback and clears the queue; does not return a value

Stops the music player immediately and clears all tracks from the queue. After calling $stopMusic, the player is idle — no tracks are playing and the queue is empty. The bot remains in the voice channel unless you also call $leaveVoice.

Examples

Stop playback completely

$stopMusic[]
$sendMessage[⏹️ Playback stopped. Queue cleared.]

Stop and leave voice channel

$stopMusic[]
$leaveVoice[]
$sendMessage[👋 Stopped and left the voice channel.]

Stop with confirmation embed

$stopMusic[]
$title[⏹️ Stopped]
$description[Music playback has been stopped and the queue has been cleared.]
$color[#FF0000]