$lowestRoleWithPerms

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

Usage

$lowestRoleWithPerms[permissions;...]

Breakdown

  • permissions - The permissions that the role needs to have. (see permissions list). Use ; as separator for multiple permissions

Example

$nomention
Lowest Role with Administrator:  $roleName[$lowestRoleWithPerms[admin]] ($lowestRoleWithPerms[admin])

example