Skip to content

$clientLeave

$clientLeave will make your bot leave a specific server.

Usage

$clientLeave[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild which your bot shall leave.false

Example(s)

This will make your bot leave the current guild:

1
client.command({
2
name: "clientLeave",
3
code: `
4
$clientLeave[$guildID]
5
$wait[2s]
6
$sendMessage[Bye, I'm leaving!]
7
`
8
});