$botLeave

Forces the bot to leave every server that is provided.

Usage

$botLeave[guildID;...]

This function has one param.

ParamDescriptionTypeRequired

guildID

The guild(s) to leave.

Snowflake

Yes

This function should be used with caution. You should limit use of it to the bot owner(s) only.

Example

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

Last updated