$lowestRole
Returns the user's lowest role in the current guild. You can specify a user ID, or if omitted, it will use the command executor (the user who ran the command). "Lowest" refers to the role with the lowest position in the server's role hierarchy (typically, the role created first).
Usage:
$lowestRole[userID]- Returns the lowest role for the user with the specifieduserID.$lowestRole- Returns the lowest role for the user who executed the command.
Example:
This example retrieves the role ID of the user's lowest role and displays it.
!!exec $roleName[$lowestRole]
Explanation:
!!execis used to execute a custom command.$lowestRoleretrieves the lowest role of the command executor.$roleNameretrieves the ID of the role obtained from$lowestRole.
Discord Output:
Member
(The bot will output the role ID of the user's lowest role. This example only provides a placeholder "Member".)