Skip to content

$destroyPlayer

$destroyPlayer will make your bot leave from the voice channel.

Usage

$destroyPlayer[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?snowflakeguild IDfalse

Example(s)

This will make your bot leave from the voice channel

1
client.command({
2
name: "destroy",
3
code: `
4
$destroyPlayer
5
`
6
});