Custom Command
FunctionsOnly Functions

$onlyForBoosters

Only allows the command to continue executing if the user is boosting the current server.

Usage

$onlyForBoosters[error message (optional)]

This function accepts one optional argument:

  • error message - The message to send when the user is not one of boosters. If omitted, a default error message is used.

Example

Restricting a command to upvoters

$onlyForBoosters[You must boost this server to use this command.]

Related Functions: $isBoosting

Difficulty: Easy

Tags: boost boosters Restriction

On this page