Entity Info
boostCount
$boostCount
Returns the number of active boosts (server boosts) on the current server.
Syntax
$boostCount
$boostCount
The $boostCount function retrieves the number of active server boosts (Nitro server boosts) on the current server.
Syntax
$boostCount
Parameters
No parameters.
Return value
- Type: String (number)
- The number of Nitro boosts currently active on the server.
Behavior
- Counts the boosts of all members who have boosted the server.
- Each user can provide 1 or 2 boosts depending on their Nitro tier.
- The value influences the boost level of the server ($boostTier).
Examples
Boost Statistics
$title[🚀 Server Boosts]
$description[
**Number of boosts:** $boostCount
**Level:** Level $boostTier
**Next level:** $boostRequired boosts required
]
$thumbnail[$serverIcon]
$color[#F47FFF]
$sendMessage[]
Thank-you message
$title[💜 Boost detected!]
$description[
Thank you **$username** for your boost!
The server now has **$boostCount** boosts and is at **level $boostTier**!
]
$color[#9B59B6]
$sendMessage[$channelID[boosts]]
Progress bar
$let[current;$boostCount]
$let[needed;$boostRequired]
$title[📈 Boost Progression]
$description[
**$current / $needed** boosts for the next level
Progression: $math[$current*100/$needed]%
]
$color[#F47FFF]
$sendMessage[]
Notes
- Boosts are tied to members’ Nitro subscriptions.
- The boost is removed if the member leaves the server or stops their subscription.
- For the current level, use
$boostTier(1, 2, or 3).