sameRole

open fun sameRole(guild: Guild, player: OfflinePlayer, target: OfflinePlayer): Boolean(source)

Check if two users have the same role

Return

same role or not

Parameters

guild

the guild they are in

player

the player to check

target

the target to check