Music
leaveVoice
$leaveVoice[]
Leaves the current voice channel
Syntax
$leaveVoice[]
Return Value
void
Leaves the voice channel; does not return a value
Leaves the current voice channel and disconnects from voice. Any currently playing music stops immediately. This does not clear the queue — use $stopMusic first if you want to clear the queue before disconnecting.
Examples
Leave the voice channel
$leaveVoice[]
$sendMessage[👋 Left the voice channel!]
Stop music and leave
$stopMusic[]
$leaveVoice[]
$sendMessage[⏹️ Stopped and disconnected.]
Leave with embed
$leaveVoice[]
$title[👋 Disconnected]
$description[The bot has left the voice channel.]
$color[#FFA500]