$highestRoleWithPerms

Returns the highest role in the server that has all the provided permissions.

Usage

$highestRoleWithPerms[permissions]

Parameters

  • permissions (Type: Permission || Flag: Required): The permissions that the role needs to have. (see permissions list)

Example

$nomention
Highest Role with Administrator:  $roleName[$highestRoleWithPerms[admin]] ($highestRoleWithPerms[admin])

example