ZrolePerms

Returns the permission names granted to a role joined by the given separator, defaulting to the author’s top role if no ID is provided.

Syntax

ZrolePerms{roleID?;separator?}

Arguments

NameTypeRequiredDefault
roleIDsnowflakeNoauthor’s top role
separatorstringNo

Example

ZrolePerms{987654321012345678;, }