$onlyAdmin

Makes the command only for users with the administrator permission.

Usage

$onlyAdmin[errorMessage]

Parameters

  • errorMessage (Type: String || Flag: Emptiable): The error message that is returned when the user isn't an administrator.