$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.

bot.Command({
name: "boosting",
code: `
$isBoosting
`
})

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

bot.Command({
name: "boosting",
code: `
$isBoosting[5397459387459384533]
`
})
Last modified 1yr ago
Copy link