update Rank
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.
block User
The user to update the rank for.