$botLeave[]

Makes the bot leave the server matching the provided server ID.

Syntax

$botLeave[guild ID]

Parameters

  • guild ID (Type: Snowflake || Flag: Required): The ID of a guild to leave.

Example

$nomention
$sendMessage[I left out `$serverName[$message]` server]
$botLeave[$message]

example

example

If you are using BDScript 2, put $botLeave[] at the very bottom of the code so that the code works correctly i.e:

❌ Not correct:

$botLeave[$message]
$nomention
$sendMessage[I left this server!]

✅ Correct:

$nomention
$sendMessage[I left this server!]
$botLeave[$message]