Functionalities
Other
Powered By GitBook
$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.

1
bot.Command({
2
name: "count-emojis",
3
code: `
4
This server has $emojiCount emoijs
5
`
6
})
Copied!

Example 2: Specific server total emoji count.

1
bot.Command({
2
name: "count-emojis",
3
code: `
4
$serverName[673264765347568734] has $emojiCount[673264765347568734] emoijs
5
`
6
})
Copied!

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

1
bot.Command({
2
name: "count-emojis",
3
code: `
4
$client[name] can see a total of $emojiCount[total] emoijs from all servers.
5
`
6
})
Copied!
Last modified 3mo ago
Copy link
Contents
Properties: