$botLeave
Makes the bot leave the current guild if no server ID is defined. Supply a guild ID to remove the bot from that specific guild.

FUNCTION USAGE

  • $botLeave
  • $botLeave[]
  • $botLeave[guildID]

Properties:

[] - Bot will leave the guild where the command was executed. Same as no brackets. guildID - Bot will leave the guild of the defined guild ID.
Example 1: Leaves the guild where the command was executed.
1
bot.Command({
2
name: "leave",
3
code: `
4
$botLeave
5
`
6
})
Copied!
Example 2: Leaves the guild of the defined guild ID.
1
bot.Command({
2
name: "leave",
3
code: `
4
$botLeave[$message[]]
5
`
6
})
Copied!
Last modified 5mo ago
Copy link
Contents
Properties: