Music
leaveVoice
$leaveVoice[]
Disconnects the bot from the voice channel of the server and destroys the music player of the server: playback stops and the queue is emptied (the server’s player session is discarded). Takes no argument and returns an empty string. If the bot has no active player, nothing happens. Requires a server and a configured music (Lavalink) service, otherwise an error is raised.
Syntax
bdfd
$leaveVoice[]
Examples
Disconnect from Voice
$leaveVoice
$title[Voice Disconnected 🔇]
$description[Bot left the voice channel and cleared audio playback.]
$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.