getGuildRole

fun getGuildRole(player: Player): GuildRole?(source)

Get the role of a player.

Return

the GuildRole of the player, or null if the player is not in a guild

Parameters

player

: the player whose role you want to retrieve