$isBoosting
Returns `true` if the userID in the provided field is boosting the server where the command is ran. Otherwise, the function returns `false`.

FUNCTION USAGE

    $isBoosting
    $isBoosting[]
    $isBoosting[userID]
    $isBoosting[userID;guildID]

Properties:

[] - Leave brackets empty to return if the command author is boosting. Same as no brackets. userID - The ID of the user being checked for boosting the guild. guildID - The guild being checked for boosting status.

Example 1: Returns true if the command author is boosting the server.

1
bot.Command({
2
name: "boosting",
3
code: `
4
$isBoosting
5
`
6
})
Copied!

Example 2: Returns true if the specific user is boosting the server

1
bot.Command({
2
name: "boosting",
3
code: `
4
$isBoosting[5397459387459384533]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link
Contents
Properties: