Functionalities
Functions
Data
Other
$emojiCount
Returns the total amount of emojis in the current server or a specific server.
Function name changed from $emoteCount as of update 3.0.0!

FUNCTION USAGE

  • $emojiCount
  • $emojiCount[]
  • $emojiCount[guildID]
  • $emojiCount[total/all]

Properties:

[] - Leave brackets empty to return the current guild total emoji count. guildID - Define a guild ID to return that guilds total emoji count. total/all - Placeholder for returning the total number of emojis your bot can see from all guilds your bot is in. Both total and all placeholders work the same.

Example 1: Current server total emoji count.

bot.Command({
name: "count-emojis",
code: `
This server has $emojiCount emoijs
`
})

Example 2: Specific server total emoji count.

bot.Command({
name: "count-emojis",
code: `
$serverName[673264765347568734] has $emojiCount[673264765347568734] emoijs
`
})

Example 3: Total emoji count. All emojis from all guilds your bot is in.

bot.Command({
name: "count-emojis",
code: `
$client[name] can see a total of $emojiCount[total] emoijs from all servers.
`
})
Copy link