v5.0.0
$botLeave
Forces the bot to leave the specified server.
This function makes the bot leave the current / specified server

Fields

This function has 1 optional field
  1. 1.
    Server ID (Optional)
Raw Usage: $botLeave[serverID (optional)]

Options

  • Server ID - The server of which the bot is going to leave from
Using this function will make your bot leave the specified server, we recommend using $onlyForIDs[Your ID;Only for my owner]

Usage

1
bot.command({
2
name: "exit",
3
code: `
4
$botLeave
5
$onlyForIDs[278342221202194434;You're not Chiwi!]
6
`
7
});
8
​
9
// I just used my ID but you can replace it with yours.
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub