$botLeave

Forces the bot to leave every server that is provided.

Usage

$botLeave[guildID;...]

This function has one param.

Param
Description
Type
Required

guildID

The guild(s) to leave.

Snowflake

Yes

Example

bot.commands.add({
  type: "basicCommand",
  name: "example",
  code: `
  $onlyForIDs[$botOwnerID;You are not my bot owner!]
  Bye!
  $botLeave[$guildID]
  `
})

Last updated

Was this helpful?