docsFunctionsRolesZhighestRoleWithPerms

ZhighestRoleWithPerms

Returns the ID of the highest-position role in the guild that has all of the specified permissions.

Syntax

ZhighestRoleWithPerms{permission;...}

Arguments

NameTypeRequiredDefault
permissionpermissionYes-

Example

ZhighestRoleWithPerms{manageMessages;kickMembers}