$botCount

Returns how many bots are in a server.

Usage

$botCount[guildID]

This function has one param.

ParamDescriptionTypeRequired

guildID

The guild to get the bot for.

Snowflake

Yes

Example

bot.commands.add({
  type: "basicCommand",
  name: "example",
  code: `
  $fetchGuildMembers[$guildID] $ignoreCode[Fetching all guild members for a accurate count]
  This server has **$botCount bots**`
})

Last updated