Skip to content
Music stopMusic

$stopMusic[]

Stops playback and clears all tracks from the queue; the paused state is reset. 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. Takes no argument and returns an empty string; with no active player nothing happens.

Syntax

bdfd
$stopMusic[]

Examples

Stop Audio Playback

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

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.