getMemberRoleOrNull

fun getMemberRoleOrNull(playerId: UUID, channelId: String): ChannelRole?(source)

Gets the role of a member in a channel without throwing exceptions.

Return

The ChannelRole if the player is a member, null otherwise.

Parameters

playerId

The UUID of the player.

channelId

The ID of the channel.