docsFunctionsRolesZhighestRole

ZhighestRole

Returns the ID of the highest-position role held by the specified user, defaulting to the author.

Syntax

ZhighestRole{userID?}

Arguments

NameTypeRequiredDefault
userIDsnowflakeNoauthor

Example

ZhighestRole{123456789012345678}