$disconnect
Disconnects the bot from a voice channel in the current or defined guild.

FUNCTION USAGE

    $disconnect
    $disconnect[]
    $disconnect[guildID]

Property:

[] - Leave brackets empty to disconnect the bot from a voice channel in the current guild. Same as no brackets. guildID - The ID of the guild where the bot will disconnect from a connected voice channel.
This page has been updated for 3.1.2 The usage for 3.0.0 - 3.1.1 is $disconect[voicechannelID]

Example 1: Bot will disconnect from a voice channel in the current guild if it is in one.

1
bot.Command({
2
name: "disconnect",
3
code: `
4
$disconnect
5
`
6
})
Copied!

Example 2: Bot will disconnect from a voice channel in the defined guild if it is in one.

1
bot.Command({
2
name: "disconnect",
3
code: `
4
$disconnect[573948652049764]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link
Contents
Property: