updateRank

fun updateRank(rank: Rank, uuid: UUID)(source)

Updates the rank of a user by setting their primary group and updating their role in Discord. This method modifies the user's rank in the LuckPerms plugin and updates their role in Discord if they are linked.

Parameters

rank

The new rank to assign to the user.

blockUser

The user to update the rank for.